Closed Bug 306918 Opened 20 years ago Closed 1 year ago

Button-up events not consumed by modal operations

Categories

(Core Graveyard :: Widget: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dragtext, Unassigned)

References

(Blocks 1 open bug)

Details

When dragging a link or when using click-and-hold to display its menu, releasing the mouse button while still over that link will cause the link to be followed. Steps to reproduce: * drag and drop - point at the left end of a link & move the mouse rightward until d&d mode is entered; release the mouse button while still over the link; a new page will be displayed * click & hold menus - hold the button long enough for the menu to display, then release it while still over the link; a new page will be displayed but the menu will remain in place Expected results: * drag and drop - nothing should happen because nsContentAreaDragDrop explicitly disallows drops that originated within the same content * click and hold menus - nothing should happen: the menu should continue to be displayed below the link it relates to Apparently, the button-up event is not being consumed by the d&d & menu code and is being redispatched. Notes: * This was originally identified as a Mac-only "feature" in Bug #303300. This new bug has been filed to characterize it more appropriately and better describe the problem. * I tested this using Firefox 1.0.3 under OS X v10.4.2. Since the machine wasn't mine, I couldn't test it using a current build. In Bug #303300, the problem was reported to be present in a trunk build from August 3rd. * This error doesn't occur under Win XP or OS/2.
Component: Event Handling → Widget: Mac
Blocks: 303300
Assignee: events → nobody
QA Contact: ian → mac
Product: Core → Core Graveyard
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.