Show the address bar's popover only while its results view is open and drop the breakout attributes
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
Details
(Whiteboard: [sng])
Attachments
(4 external files)
Once the bar is a popover exactly while its results view is open (bug 2022527), the breakout and breakout-extend attributes carry nothing the popover state does not already say.
breakout-extend goes first: the styles it gates key off :popover-open instead. breakout follows, since the popover state and the container height the bar measures into its parent cover what it mirrored. With both gone, "breakout" names nothing the code still has, so the custom properties, methods and test files take the popover vocabulary instead.
All three rest on bug 2022527 and cannot land before it: without it a chrome-window bar is :popover-open whenever it can break out, so every expanded style would apply permanently.
Split out of bug 2065901, which covers the placement change and lands on its own.
| Assignee | ||
Comment 1•2 months ago
|
||
Widening this to cover the popover-toggling change as well, which was going to be filed on bug 2022527.
That was wrong: restoring the toggling does not remove the hack from bug 2007147, so it leaves bug 2022527 unresolved. The toggling is what bug 2022527 needs rather than what fixes it, so this bug now blocks it instead of depending on it.
So the first sentence of comment 0 should read: once the bar is a popover exactly while its results view is open, which is the first patch here, the breakout and breakout-extend attributes carry nothing the popover state does not already say.
| Assignee | ||
Comment 2•2 months ago
|
||
Bug 2061633 reverted this along with the rest of Bug 2022527. The popover work below rests on the popover tracking the extension rather than the breakout, so restore that part.
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
The attribute was set and cleared exactly where the popover is shown and hidden, so the styles it gated are unchanged.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 4•2 months ago
|
||
The popover and the container height the bar measures into its parent now carry the state the attribute mirrored. Stopping breakout hides the popover, so the bar leaves the top layer for a modal dialog or customize mode.
| Assignee | ||
Comment 5•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 7•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c664f852b486
https://hg.mozilla.org/mozilla-central/rev/d84aee4eb0fd
https://hg.mozilla.org/mozilla-central/rev/cb12860ca5ff
https://hg.mozilla.org/mozilla-central/rev/bc53cb70910b
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Description
•