On 2009-01-03 21:49 +0100, Vincent Lefevre wrote: > Package: emacs22-gtk > Version: 22.2+2-5 > Severity: minor > > I think this is a long-standing bug, but I've just found out the cause: > When I use the mouse wheel (in general by mistake) over the menu bar, > emacs hangs: the mouse wheel, the mouse buttons (over the contents) > and the keyboard (including C-g) no longer have any effect. I can > still use the scrollbar (by moving the slider with the mouse), but the > text doesn't scroll. The solution to un-hang emacs: click anywhere on > the menu bar.
It seems this is fixed in Emacs 22.3, here is the relevant change: 2008-05-13 Jan Djärv <jan....@swipnet.se> * xterm.c (handle_one_xevent): Don't pass buttons higher than 3 to Gtk+ menus. --8<---------------cut here---------------start------------->8--- Index: xterm.c =================================================================== RCS file: /sources/emacs/emacs/src/xterm.c,v retrieving revision 1.943.2.14 retrieving revision 1.943.2.15 diff -u -r1.943.2.14 -r1.943.2.15 --- xterm.c 24 Feb 2008 01:04:51 -0000 1.943.2.14 +++ xterm.c 13 May 2008 08:13:13 -0000 1.943.2.15 @@ -6848,6 +6848,8 @@ if ( #ifdef USE_GTK ! popup_activated () + /* Gtk+ menus only react to the first three buttons. */ + && event.xbutton.button < 3 && #endif f && event.type == ButtonPress --8<---------------cut here---------------end--------------->8--- I cannot test it due to lack of a mouse wheel, so you have to wait for 22.3 to be packaged or apply the patch and build the emacs22 package yourself (could take a few hours on your old PowerPC machine) if you want to check whether this is correct. See also the thread starting at http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00786.html. Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org