Closed Bug 357475 Opened 19 years ago Closed 18 years ago

Selection / highlight in context menus doesn't work when holding down mouse button

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: withay, Assigned: smichaud)

References

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20061019 Minefield/3.0a1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20061019 Minefield/3.0a1 When opening a contextual menu (on a page, the tab bar, and bookmark bar at least) with a right- or ctrl-click and hold, the menu is not yet selectable. The menu is "frozen" (for lack of a better description) until the mouse button is released, then items can be highlighted and selected by another click. This is not Mac-like and not how such menus have worked previously (20060925 was my last nightly, which worked properly). Reproducible: Always Steps to Reproduce: 1. Open Minefield 2. Right- or ctrl-click on the page itself, holding the mouse button down 3. Try to move around the menu, noting no highlighting occurs yet 4. Release the mouse, now you can highlight to select an item Actual Results: Items cannot be selected while holding the button, it must be released, then another click to select the item. Expected Results: Items should be selectable simply by moving to the given item and releasing the button (like all other menus on the Mac).
Regression from the switch to Cocoa widgets?
Blocks: 326469
Flags: blocking1.9?
Keywords: regression
Summary: Contextual menus via Right-/Ctrl-click not Mac-like → Contextual menus via Right-/Ctrl-click no longer Mac-like
Assignee: nobody → joshmoz
Component: Menus → Widget: Cocoa
Product: Firefox → Core
QA Contact: menus → cocoa
Version: unspecified → Trunk
*** Bug 357564 has been marked as a duplicate of this bug. ***
*** Bug 357364 has been marked as a duplicate of this bug. ***
Changing summary and confirming...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Contextual menus via Right-/Ctrl-click no longer Mac-like → Selection / highlight in context menus doesn't work properly
Summary: Selection / highlight in context menus doesn't work properly → Selection / highlight in context menus doesn't work when holding down mouse button
Flags: blocking1.9? → blocking1.9+
Depends on: 356720
Target Milestone: --- → mozilla1.9alpha6
I've just discovered the proximate cause of this bug: As long as you keep the mouse button down (the left one when you've ctrl-clicked or the right one when you've right-clicked), the OS sends mouse-dragged events to the window (the NSWindow) from which the context menu was popped up -- not to the context menu's window. Now I need to figure out how to change this :-)
Status: NEW → ASSIGNED
Assignee: joshmoz → smichaud
Status: ASSIGNED → NEW
Target Milestone: mozilla1.9alpha6 → mozilla1.9beta2
Depends on: 387164
Fixed by patch for bug 387164, which just landed on trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
No longer depends on: 356720
You need to log in before you can comment on or make changes to this bug.