Bug 81817

Summary: gok: don't start and steal/disable primary mouse
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Danny Al-Gaaf <dalgaaf>
Component: GNOMEAssignee: Gary Ekker <gekker>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Danny Al-Gaaf 2005-05-04 10:56:12 UTC
I tried to start gok under KDE. It doesn't start and steal/diabled the primary 
mouse. Only the pen of my tablet pc is working after the crash. I get this 
messages if i tried to start from konsole:

5 event types available
login mode = false
Word prediction dictionary contains a total of 3000 words

(gok:16587): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET 
(widget)' failed
** Message: corepointer detached...
The program 'gok' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadClass, invalid event class'.
  (Details: serial 892 error_code 171 request_code 145 minor_code 6)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 1 Danny Al-Gaaf 2005-09-16 21:38:25 UTC
This bug is already present in SUSE 10.0 RC1
Comment 2 Danny Al-Gaaf 2005-09-16 21:40:22 UTC
The same crash with one different line:

 (Details: serial 2314 error_code 171 request_code 145 minor_code 6)
Comment 3 JP Rosevear 2005-12-21 20:15:04 UTC
gok is really for GNOME accessibility and requires some setup in gnome-session.

I don't think this is really major - is there no KDE onscreen keyboard?
Comment 4 Danny Al-Gaaf 2005-12-22 13:20:29 UTC
Yes, I know gok is for gnome (and IMO it also doesn't work so perfect under GNOME), but since gok is in my KDE menu it should work also under KDE or it should display a warning message like "You can start GOK only under GNOME." and not start. 

In fact: if it not work under KDE it should not be in the menu.
Comment 5 JP Rosevear 2005-12-22 15:30:13 UTC
Gary, lets add the .desktop property to only show it under the GNOME menu system.
Comment 6 Gary Ekker 2005-12-23 20:57:46 UTC
Fixed in STABLE.