Hello Benoit, I (re)confirm Wolfgang results:
With gb.gui: (F3:2853): Gtk-CRITICAL **: IA__gtk_text_buffer_set_text: assertion 'text != NULL' failed With gb.gtk: ERROR: TextArea1.Text is not static With gb.qt4: well works!!! My system is: [System] Gambas=3.5.3 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Ubuntu 14.04 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=15977M [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+=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 Regards gianluigi Il 06/05/2014 22:15, Benoît Minisini ha scritto: > 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? > ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user