GNOME Bugzilla – Bug 155473
Desktop hangs while selecting keyboards
Last modified: 2005-01-19 17:26:24 UTC
Bug from partha.pratim@wirpo.com Using gok 0.11.7: 1) Open GOK Launch->Applications->accessibility->->On-Screen Keyboard. 2) Click on "GOK" button. next click on 'Preferences' button 3) In the GOK preferences window, click on 'Keyboard' tab. 4) Select a keyboard, click on 'Apply' button and the OK button. 5) Repeat the same process and now select a different keyboard and click Desktop hangs.
Has this been tested against a more recent GOK?
When I tried to reproduce this on a mpore recne tgok I found myself unable to select a keyboard using gok. I would choose the click for a keyboard option but nothing would happen.
I am not able to recreate either bad behaviour.
Possible fix: http://bugzilla.gnome.org/attachment.cgi?id=32740&action=view (from bug # 155344)
Closing as fixed with latest patch to bug #155344
re-opening, as Frances Keenan reports that this can still be reproduced in builds based on gok-0.11.16 (c_14 linux).
fix in cvs.
is there a diff?
sorry David - I'll approximate here: It's a very small fix, primarily adding a strdup to gtk_entry_get_text(), i.e. instead of -foo = gtk_entry_get_text (...); -... g_free (foo); /* VERY BAD MOJO */ +foo = g_strdup (gtk_entry_get_text (...)); ... g_free (foo); /* Ah, that's better :-) */