Closed Bug 2069413 Opened 2 months ago Closed 2 months ago

Show the address bar's popover only while its results view is open and drop the breakout attributes

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
157 Branch
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.

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.

Blocks: 2022527
No longer depends on: 2022527
Summary: Drop the address bar's breakout attributes and rename the concept to popover → Show the address bar's popover only while its results view is open and drop the breakout attributes

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.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED

The attribute was set and cleared exactly where the popover is shown and hidden, so the styles it gated are unchanged.

Depends on: 2017065, 2063341

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.

Depends on: 2065901
Severity: -- → N/A
Priority: -- → P1
Whiteboard: [sng]
No longer depends on: 2063341
No longer depends on: 2017065
QA Whiteboard: [qa-triage-done-c158/b157]
Blocks: 2070864
Regressions: 2070864
No longer blocks: 2070864
See Also: → 2070864
See Also: 2070864 →
Regressions: 2074950
Regressions: 2073838
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: