[Bug 187313] Re: [MASTER] right click (with button release) might activate random popup-menu-item

4711 bugs at krickelkrackel.de
Fri Jan 30 13:06:00 UTC 2009


1.)
The Mouse Gestures extension only changes the context menu behaviour from mousedown to mouseup
for context menus inside the "content" where Mouse Gestures is working. In all other places the menu
will be shown on mousedown! (Like the context menu for tabs or toolbars)

2.)
I don't think the problem is related to Accessibility. At least on my system.

3.)
With Fx3/Gecko 1.9 a lot of changes to the popup code where introduced.
After some investigation with eventListeners (added by an extension) I have found one (big?) problem:

-Sometimes mouseup events are fired to the popup although the popup is not visible yet.
 (the popup.state is "showing" not "open")
-this mouseup will call the command of the menuitem it happened over and close the popup
 (I think positioning and showing the popup is VERY slow)

For me the "ghost commands" where 100% reproducible when a mouseup was fired to the popup
while its state was "showing" (about to become visible)

The problem happens more often if the popup has to be moved to the top of the cursor. (More calculations?)
And I can reproduce it quite reliable if the window the popup belongs to has to be brought to the front first.

Have a look at:
https://developer.mozilla.org/en/XUL/PopupGuide/OpenClose#Determining_if_a_Popup_is_Open

-- 
[MASTER] right click (with button release) might activate random popup-menu-item
https://bugs.launchpad.net/bugs/187313
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list