[Gambas-user] Textbox bug

Benoît Minisini gambas at ...1...
Sat Sep 13 14:42:47 CEST 2014


Le 13/09/2014 14:06, Benoît Minisini a écrit :
> Le 13/09/2014 13:24, Ian a écrit :
>> I have the same problem.
>> If I select gb.GTK, gb.GTK3 or the standard gb.GUI, when I run the
>> application I cannot enter text into any of the input controls such as
>> text, textarea, spinbox…ect fields.
>> Backspace and Tab DO work !,  I can also 'paste' text into a control.
>> However drawing images; simple lines, circles ect on a drawing area
>> component will work correctly.
>>
>> If I switch to gb.QT4 with or without the gb.QT4.ext then text entry
>> works but the drawing of images stops.
>> Stepping through the code, it runs without error but produces no display
>> on any drawing area control.
>>
>> Note # This is on a fresh rebuild of Linux Mint 17 "Qiana" with the
>> latest overnight updates from the gambas-team/gambas-daily PPA.
>>
>> The only thing I can add is that I get this warning in the console:
>> (rdadmin:5856): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
>> 'GTK_IS_WIDGET (widget)' failed
>> with the gb.GUI or gb.GTK component selected.
>> No error reported in the console with gb.GTK3 but the problem still
>> exists as stated.
>>
>> Another has also reported this on the gambas forum at
>> whiteislandsofware.com with Ubuntu 14.04
>>
>> Cheers,
>> Ian Roper.
>>
>
> I confirm the same problem. But it worked a few days ago without me
> changing anything, so I think there was a recent update on input methods
> that broke gb.gtk keyboard events management.
>
> I'm currently investigating...
>

Things should be better in revision #6469.

Please note that if you manually change the input method of the text box 
from its popup menu, things stop working very well. Maybe because there 
is now way to be aware of that change outside of the textbox.

Regards,

-- 
Benoît Minisini




More information about the User mailing list