GNOME Bugzilla – Bug 330970
gok makes the mouse stop working
Last modified: 2006-02-15 09:12:47 UTC
I enabled a11y on my fedora rawhide setup and set gok to start on login. When I logged out and back in the mouse stopped working totally. This only happens when gok is started and is confusing to say the least.
Oh, it was the screenreader that was active it seems. Does that explain anything? Moving to gnopernicus.
Rah. I'm on crack. enabling a11y and starting gok proves my first hunch to be right.
This is possibly related to G_DEBUG=fatal_warnings when running gok I see this warning: [kmaraas@localhost eog]$ gok Bonobo accessibility support initialized GTK Accessibility Module initialized /dev/js0: Ingen slik fil eller filkatalog 3 event types available login mode = false Word prediction dictionary contains a total of 3000 words Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed Running gok in gdb with the --sync option gives me this backtrace: [kmaraas@localhost eog]$ gdb gok GNU gdb Red Hat Linux (6.3.0.0-1.98.2rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r --sync Starting program: /usr/bin/gok --sync Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xaf5000 [Thread debugging using libthread_db enabled] [New Thread -1209002320 (LWP 18866)] Bonobo accessibility support initialized GTK Accessibility Module initialized /dev/js0: Ingen slik fil eller filkatalog 3 event types available login mode = false Word prediction dictionary contains a total of 3000 words Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed aborting... Program received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 66174
Thread NaN (LWP 18866)
which pointed me to gok_main_close_warning() Attaching a patch to check for a NULL _corepointer_warning before calling gtk_widget_destroy() on it. That fixed the problem for me. I have problems with my mouse though. After running and quitting gok the mouse no longer works. running xsetpointer Synaptics gets it back though.
Created attachment 59364 [details] [review] patch to fix the warning
Comment on attachment 59364 [details] [review] patch to fix the warning Thanks!
Commited.