Megabar's Focused & Collapsed state is inconsistent on Windows
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Bug 1579004 seems to be broken on Windows. The Megabar should enter the Focused & Collapsed state for any clicks on browser UI. This is the case on Mac and Linux. On Windows, we are only entering Focused & Collapsed when clicking on the active tab: clicks on the empty toolbar or tab bar are not collapsing the megabar.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
I believe this is due to how window dragging works on Windows. Areas that are reserved for dragging don't get mouse events. Jim, can you confirm? Is there any way we can detect these mousedown events in the frontend?
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
|
||
This is probably tied to that mouse handling code in nsWindow that treats open space in a unique way. I can try to find someone to take a look. Could be a while though.
https://searchfox.org/mozilla-central/search?q=mDraggableRegion&redirect=false
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
Bug 1589826 removes the Focused & Collapsed state, making this bug invalid.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•