After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155473 - Desktop hangs while selecting keyboards
Desktop hangs while selecting keyboards
Status: RESOLVED FIXED
Product: gok
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
AP0
Depends on: 155512
Blocks:
 
 
Reported: 2004-10-15 07:42 UTC by padraig.obriain
Modified: 2005-01-19 17:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description padraig.obriain 2004-10-15 07:42:28 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.
Comment 1 David Bolter 2004-10-15 13:05:34 UTC
Has this been tested against a more recent GOK?
Comment 2 padraig.obriain 2004-10-15 13:59:33 UTC
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.
Comment 3 David Bolter 2004-10-15 18:45:12 UTC
I am not able to recreate either bad behaviour.
Comment 4 David Bolter 2004-10-18 18:33:44 UTC
Possible fix: http://bugzilla.gnome.org/attachment.cgi?id=32740&action=view
(from bug # 155344)
Comment 5 David Bolter 2004-10-19 15:34:40 UTC
Closing as fixed with latest patch to bug #155344
Comment 6 bill.haneman 2005-01-13 15:37:18 UTC
re-opening, as Frances Keenan reports that this can still be reproduced in
builds based on gok-0.11.16 (c_14 linux).

Comment 7 bill.haneman 2005-01-19 16:12:31 UTC
fix in cvs.
Comment 8 David Bolter 2005-01-19 16:48:51 UTC
is there a diff?
Comment 9 bill.haneman 2005-01-19 17:26:24 UTC
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 :-) */