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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to