[Gambas-user] Problem with TextArea in Gambas 3.5.3

Benoît Minisini gambas at ...1...
Tue May 6 22:15:03 CEST 2014


Le 27/04/2014 09:13, DL7NB a écrit :
>
> Hi,
>
> When trying to erase a textarea.text with the command:
>
>       TextArea1.text = ""
>
> ..does not work and it throws the Gtk-Critical error message:
>
>       (Textarea:9381): Gtk-CRITICAL **: IA__gtk_text_buffer_set_text:
> assertion `text != NULL' failed
>
>
> ===
>       Textarea1.clear
>
> works, without a warning. Why?
>
> What has changed?
>
> Wolfgang
>
> I have added a short example and here is my System-Information:
>
> [System]
> Gambas=3.5.3
> OperatingSystem=Linux
> Kernel=3.5.0-48-generic
> Architecture=x86
> Distribution=Ubuntu 12.04.4 LTS
> Desktop=GNOME
> Theme=QGtk
> Language=de_DE.UTF-8
> Memory=2000M
> [Libraries]
> Cairo=libcairo.so.0.0.0
> Cairo=libcairo.so.2.11000.2
> Curl=libcurl.so.4.2.0
> DBus=libdbus-1.so.3.5.8
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.1.0
> GTK+=libgtk-x11-2.0.so.0.2400.10
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.19.0.0
> Qt4=libQtCore.so.4.8.1
> SDL=libSDL-1.2.so.0.11.3
>

Mmm... I cannot reproduce it at all. My system is:

[System]
Gambas=3.5.90
OperatingSystem=Linux
Kernel=3.13.0-24-generic
Architecture=x86_64
Distribution=Ubuntu 14.04 LTS
Desktop=KDE4
Theme=Oxygen
Language=fr_FR.UTF-8
Memory=6921M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.203.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

Does anyone have the same problem?

-- 
Benoît Minisini




More information about the User mailing list