Open Bug 327090 Opened 20 years ago Updated 3 years ago

Incorrect behaviour of context menus (mouse out + mouse up)

Categories

(Core :: XUL, enhancement)

1.8 Branch
PowerPC
macOS
enhancement

Tracking

()

People

(Reporter: androse, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060213 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060213 Firefox/1.6a1 The behaviour of context menus is not identical to the way they behave in the rest of the MacOS UI. If you right-click (or ctrl-click) to bring up a context menu, *and keep the mouse button down*, you should be able to release the mouse button outside of the context menu (or above a disabled element of the menu) to dismiss the menu. Reproducible: Always Steps to Reproduce: 1. Right-click (or ctrl-click) on a web page, and keep your mouse button down 2. move the cursor out of the context menu 3. release the mouse button. Actual Results: The context menu remains visible, which is not the system wide behaviour. Expected Results: The context menu should be dismissed (disapear). This problem also affects the list menu that pops up from the "back" button. I know Firefox can't be expected to reproduce identically the system UI, and that this purpose is served specifically by Camino. But this difference is really important. Also, I have noticed that the way text is selected in input fiels has been changed to be consistant with the MacOS way, so this bug doesn't seem like an outlandish expectation.
Status: UNCONFIRMED → NEW
Component: OS Integration → XP Toolkit/Widgets: Menus
Ever confirmed: true
Product: Firefox → Core
QA Contact: os.integration → xptoolkit.menus
Version: unspecified → 1.8 Branch
I would like to add this to the bug: The current behavior is undoubtably associated with the fact that the old mac os had no support whatsoever for right click. Holding down the mouse was a way to get a context menu on a lot of programs. Even in the OS 8 and 9 days, control-click was added to support the deficit of not being able to right click. We should remove any code that displays a context menu as a result of a long click and make it so that context menus are only displayed when control or right clicking is performed. My firefox is constantly having these ghost context menus show up while I'm mousing. Fixing this should clear the way for allowing the behavior below fixed. In the old world, you would want a chance to select something, so mousing up after the menu showed up (due to the long click) was decided to be ok.
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.