GNOME Bugzilla – Bug 89139
Error: Menu already active
Last modified: 2009-08-16 15:13:28 UTC
Double click with right mouse button (assigned to show window manager menu) effectively disables the menu. The only way to access the menu is to restart sawfish. The same effect has fast pressing of the assigned keyboard shortcut (Ctrl+Esc in my case). Produced error: "Error: Menu already active"
seems to work for me, but I won't close this yet..
This is my most hated bug in sawfish. It hit me at least 3 or 4 times each week. It seems to occur randomly but after many experiments I found a method to produce it: (1) map "Open root menu" to a key (2) press the left mouse button in a window but do not release it. (3) press the key defined in (1) (4) After that all menu should fail with "error: Menu already active". My version is sawfish 1.1-gtk2 (debian).
A small tip: It is a good idea to map a key shortcut to the command 'Restart'.
*** Bug 94283 has been marked as a duplicate of this bug. ***
*** Bug 97441 has been marked as a duplicate of this bug. ***
*** Bug 98574 has been marked as a duplicate of this bug. ***
The bug seems to be caused by sawfish-menu. It does not output anything if second click/escape occurs before the menu is displayed.
Created attachment 15330 [details] Simple FIX
Description of what's happening inside sawfish-menu.jl If a second click occurs before menu is pop up, that is before gtk-menu-popup-interp is called, it does not get realized. Thus "deactivate" signal is never generated and gtk-main runs forever. I have given up searching why exactly it's not realized, but checking if it's realized before running gtk-main helps.
Thanks. Applied the patch.