Megabar should stay collapsed after window drag on Linux
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | affected |
People
(Reporter: bj, Unassigned)
References
Details
The effect on megabar for move window, resize window, and minimize/maximize should be consistent.
When the address bar is expanded and the window is resized or dragged the size is reduced during the operation and restored to the expanded size as soon as the operation is complete.
This doesn't happen when the window Maximize or Minimize button is clicked. The address bar is set to non-expanded by the operation. Focus is still in the address bar and using arrow keys moves focus around in the address bar, typing a character causes the bar to expand.
Using XFCE on Ubuntu.
Comment 1•5 years ago
|
||
The maximize/minimize behaviour is the correct behaviour. It's the drag behaviour you're describing that's the problem here. The Megabar is supposed to collapse but stay focused when any part of the browser UI is clicked. It should not expand until the user interacts directly with the Urlbar, such as by clicking or typing in it. This includes window drags; the Megabar should collapse at dragstart and stay collapsed after the drag is complete.
I can't replicate this issue on Mac, but I can on Linux. Windows has more problems with the Focused & Collapsed state (bug 1586024) that need to be resolved first before seeing if this is an issue on Windows too.
Comment 2•5 years ago
|
||
The cause for this is platform-specific drag behaviour. On Mac, if the Urlbar is focused and the window is dragged the Urlbar stays focused the whole time during the drag. On Linux, we blur the bar during the drag and then refocus it after the drag. The refocus event triggers Megabar expansion. I don't know how we handle this on Windows.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Unassigning myself as we wait for Verdi's design revision. The design tweaks may make this irrelevant.
Comment 4•5 years ago
|
||
Bug 1589826 removes the Focused & Collapsed state, which means this is no longer an issue. The megabar will always be expanded when it is focused.
Description
•