GNU bug report logs - #16565
24.3.50; x-popup-menu just returns nil

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 27 Jan 2014 02:52:02 UTC

Severity: normal

Found in version 24.3.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 16565-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Eli Zaretskii <eliz <at> gnu.org>, Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 16565-done <at> debbugs.gnu.org
Subject: Re: bug#16565: 24.3.50; x-popup-menu just returns nil
Date: Wed, 29 Jan 2014 09:27:24 +0100
Hello.

2014-01-28 17:31, Eli Zaretskii skrev:
>> From: Michael Heerdegen <michael_heerdegen <at> web.de>
>
>> I continued debugging xmenu_show and found that after the call to
>> `create_and_show_popup_menu', `menu_item_selection' is only != 0 in the
>> good case.
>
> Perhaps Jan could help us out, then.  Jan, it sounds like GTK doesn't
> like what we do with the menu, for some reason.
>

The Gtk+ assumtion is that popup is done on key down, not key up, i.e.:

(global-set-key
 [(meta control down mouse-3)] ;just some free key
 #'foo)

It is very strange to popup a menu on key up.  From the Gtk+ point of view, 
that corresponds to popping up without a mouse click, hence the error.  I have 
checked in a fix in trunk.

	Jan D.





This bug report was last modified 11 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.