Closed
Bug 421112
Opened 17 years ago
Closed 4 years ago
Mouseup event fired when double-clicking Firefox window inside content area in this case
Categories
(Core :: Widget: Win32, defect, P5)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: tpi:+)
Attachments
(1 file)
(deleted),
text/html
|
Details |
I strongly suspect this is windows only.
To reproduce the issue:
- Open testcase
- Open the error console and make sure the top left of that window is layed over the testcase
- Double-click in the left corner of that window to close it.
Actual result:
- Alert appears with 'mouseup fired'
Expected result:
- No alert should appear.
This only happens with windows that are part of the same application.
It reminds me a lot of bug 297080.
Reporter | ||
Comment 1•17 years ago
|
||
Not fixed by bug 297080.
Matthew, do you know if this needs some similar tweaking of the code as you did in bug 297080?
Comment 2•17 years ago
|
||
I can reproduce this using Notepad over the top of the testcase too, so it's not just with windows that are part of the same application for me. What happens is the window disappears on the second mouse down (so mouse down + up + down -> close), so the final mouse up can end up being delivered to the lower window.
Comment 3•17 years ago
|
||
The same testcase using IE and Notepad does not cause the mouseup alert to appear. Is the problem that we're processing some events (e.g. mouseup) when we shouldn't be--that is, when the window is not focused? I'm not sure what the right/Windows way is here.
Reporter | ||
Comment 4•17 years ago
|
||
Ah, yes, I see that too now. Ok, I guess this is more a quirk than anything else.
You might call this bug even invalid.
Comment 5•15 years ago
|
||
(In reply to comment #3)
> Is the problem that we're processing some events (e.g. mouseup) when
> we shouldn't be--that is, when the window is not focused? I'm not sure what
> the right/Windows way is here.
Well Im not sure if this is the same bug, but there is something similar in bug 184051
The problem there is that click event is fired every time when the mouse is used no matter which button, single or double click.
Comment 6•13 years ago
|
||
You can also get this mouseup problem if you double-click on a file in a file picker popup (i.e. <INPUT TYPE="file">), if the file is over the open window. The double-click only causes the mouseup if it closes the file picker too (double-clicking a folder works).
Updated•8 years ago
|
Priority: -- → P5
Whiteboard: tpi:+
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Happily reporting this is not reproducible anymore.
Status: REOPENED → RESOLVED
Closed: 8 years ago → 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•