Open Bug 1921257 Opened 14 days ago Updated 2 days ago

Content area box-shadow and outline cut off when sidebar is set to positionend in revamp.

Categories

(Firefox :: Sidebar, defect, P1)

defect

Tracking

()

REOPENED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- wontfix
firefox133 --- affected

People

(Reporter: nsharpley, Assigned: nsharpley)

References

(Regressed 2 open bugs, Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

Regressed by:

Bug 1916004 - Use a box shadow for chrome/content separator. r=dao,desktop-theme-reviewers,tabbrowser-reviewers

This makes it work in fullscreen and regardless of whether the sidebar
(or the toolbox for that matter) is shown.

Differential Revision: https://phabricator.services.mozilla.com/D220770

Set release status flags based on info from the regressing bug 1916004

:emilio, since you are the author of the regressor, bug 1916004, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e488803f8f2d Make painting order of sidebar items consistent regardless of DOM order. r=sidebar-reviewers,desktop-theme-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Regressions: 1921811

Sheriffs: can we back this out from beta for causing bug 1921811 on macOS? Can stay in nightly, this needs more sorting out there.

(See comment above)

Flags: needinfo?(sheriffs)
Flags: needinfo?(sheriffs) → needinfo?(emilio)
Target Milestone: 132 Branch → 133 Branch

Probably... Need to check with the sidebar folks.

Flags: needinfo?(emilio)

If there's time for a low risk fix before the last early beta, then let's do it, otherwise its probably fine to "won't fix" for 132.

I can't think of an easy fix that doesn't regress bug 1916004 / bug 1915525 and other dupes.

(In reply to Emilio Cobos Álvarez (:emilio) from comment #10)

I can't think of an easy fix that doesn't regress bug 1916004 / bug 1915525 and other dupes.

Yeah, having looked at those I agree and this bug is a minor styling issue. Thanks for looking into all of that quickly.

Regressions: 1921997

Backed out as requested for causing cosmetic issue that still needs more work.

Status: RESOLVED → REOPENED
Flags: needinfo?(emilio)
Resolution: FIXED → ---
Target Milestone: 133 Branch → ---
Flags: needinfo?(emilio)

I think we still want to resolve this in nightly, right? Marking as P1.

Severity: -- → S3
Priority: -- → P1
Whiteboard: [fidefe-sidebar]

Yes, so... This is unfortunately all a bit tricky, and depends on what we want to do with, at least, bug 1921811 and bug 1921819.

This is my understanding of the situation:

  • In order for the shadow and separator to draw, we want to always draw the content area (#tabbrowser-tabbox) on top, since it's what provides the outline and shadow.
  • That breaks the fullscreen animation (which is already kinda broken, but not so much, see bug 1921819).
  • More importantly, that breaks the toolbox if it becomes its own stacking context, because now the urlbar doesn't pop out.

The way I would personally go about fixing it would be:

  • Make the urlbar a popover (bug 1921811 has a WIP that seems to work locally).
  • Make the macOS animation not slide down (bug 1921819 has some thoughts).
  • Only then, fix the paint order to be: content-area, on top of sidebar splitters, on top of sidebars, on top of toolbox.

I'm happy to assist, but I honestly don't have the cycles to do all that right now. Sam, does my understanding above make sense to you?

Assignee: emilio → nobody
Flags: needinfo?(sfoster)

Once all that is done, then the fix for this bug is just my patch above, but with --browser-area-z-index-toolbox: 0, and --browser-area-z-index-sidebar-splitter and tabbox swapped.

Hopefully painting always the content area on top doesn't cause any regression like bug 1921997 (but hard to say).

(In reply to Emilio Cobos Álvarez (:emilio) from comment #14)

I'm happy to assist, but I honestly don't have the cycles to do all that right now. Sam, does my understanding above make sense to you?

Make the urlbar a popover (bug 1921811 has a WIP that seems to work locally).

Yes, that all makes sense. But I really want Dao's thoughts on the urlbar thing. That was quite recently overhauled, and I think performance was a major constraint. We'd also want to make sure that doesnt regress anything a11y-wise.

Flags: needinfo?(sfoster) → needinfo?(dao+bmo)
Regressions: 1923032

(In reply to Sam Foster [:sfoster] (he/him) from comment #16)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #14)

I'm happy to assist, but I honestly don't have the cycles to do all that right now. Sam, does my understanding above make sense to you?

Make the urlbar a popover (bug 1921811 has a WIP that seems to work locally).

Yes, that all makes sense. But I really want Dao's thoughts on the urlbar thing. That was quite recently overhauled, and I think performance was a major constraint. We'd also want to make sure that doesnt regress anything a11y-wise.

popover didn't exist at the time this was overhauled. Seems like it should do the trick; I don't foresee performance or a11y problems.

Flags: needinfo?(dao+bmo)
Assignee: nobody → nsharpley

(In reply to Serban Stanca [:SerbanS] from comment #12)

Backed out as requested for causing cosmetic issue that still needs more work.

Perfherder has detected a talos performance change from push 92d79fb7e800f1a7f8b814d09746c8e33fa9af8d.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
8% tart windows11-64-shippable-qr e10s fission stylo webrender 1.96 -> 1.80

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 2321

For more information on performance sheriffing please see our FAQ.

(In reply to Serban Stanca [:SerbanS] from comment #12)

Backed out as requested for causing cosmetic issue that still needs more work.

Perfherder has detected a browsertime performance change from push 92d79fb7e800f1a7f8b814d09746c8e33fa9af8d.

Improvements:

Ratio Test Platform Options Absolute values (old vs new) Performance Profiles
7% yahoo-mail loadtime windows11-64-shippable-qr bytecode-cached cold fission webrender 447.63 -> 416.88
4% pinterest PerceptualSpeedIndex windows11-64-shippable-qr fission warm webrender 736.75 -> 704.41
4% pinterest loadtime windows11-64-shippable-qr fission warm webrender 626.19 -> 602.93
4% google-mail FirstVisualChange windows11-64-shippable-qr fission warm webrender 566.92 -> 546.36 Before/After
4% google-mail ContentfulSpeedIndex windows11-64-shippable-qr fission warm webrender 567.93 -> 547.57 Before/After
... ... ... ... ... ...
2% nytimes LastVisualChange windows11-64-shippable-qr fission warm webrender 802.83 -> 786.37

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 2373

For more information on performance sheriffing please see our FAQ.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: