[Bug 65574] Re: [edgy] middle clicking doesn't close menu

Amnon A bla at cs.huji.ac.il
Fri Oct 13 13:36:39 UTC 2006


Sebastien: is the panel locked down? In that case the bug won't "work".

I've found the source of the bug -- when you press the middle mouse
button the program attempts to begin a "drag" instead of handling the
press as usual.  The attached patch fixes this (I hope). Some things I
suggest checking, assuming that the patch is accepted:

* is there a better way to detect if a menu is open other than detecting
a grab

* is the comment accurate (is there a grab only if a menu is open)

* is there a named constant that can be used instead of "2" to refer to
the middle mouse button, to make the code self-documenting.


** Attachment added: "fix the bug"
   http://librarian.launchpad.net/4823640/gnome-panel.patch

-- 
[edgy] middle clicking doesn't close menu
https://launchpad.net/bugs/65574




More information about the desktop-bugs mailing list