Closed Bug 407310 Opened 17 years ago Closed 17 years ago

Dragging from inside to outside one window can raise another window

Categories

(Core :: Widget: Cocoa, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: jaas)

Details

Attachments

(1 file, 1 obsolete file)

Steps to reproduce:
1) Press the mouse button in the topmost window
2) Drag outside that window, over another Firefox window
3) Release the button
4) Watch that other window raise
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Attached patch fix v1.0 (obsolete) — Splinter Review
Attached patch fix v2.0Splinter Review
I realized that the window being brought forward is being caused by a synthetic mouse down, not Gecko's handling of the mouse up being sent to the background window. That synthetic mouse down is only meant for popup widgets, we can just not send it unless one exists.
Attachment #292400 - Attachment is obsolete: true
Attachment #292456 - Flags: review?(smichaud)
Comment on attachment 292456 [details] [diff] [review]
fix v2.0

I'm sure this is right, so I'll r+ it without testing.

Too bad I missed it when I reviewed the patch for bug 406362 :-(
Attachment #292456 - Flags: review?(smichaud) → review+
Attachment #292456 - Flags: superreview?(roc)
Attachment #292456 - Flags: superreview?(roc) → superreview+
landed on trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: