Closed Bug 1943927 Opened 1 year ago Closed 1 year ago

The fade is visible when widget.macos.titlebar-blend-mode.behind-window is enabled on macOS.

Categories

(Firefox :: Sidebar, defect, P2)

defect

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: ypopova, Assigned: emilio)

References

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(3 files, 1 external file)

Attached image FadeSidebarExpanded —

The fade is visible when widget.macos.titlebar-blend-mode.behind-window is enabled on macOS.

Yulia, can you attach the report from about:support? That has the details we'll need to investigate like preferences changed and the theme you are using etc

Flags: needinfo?(ypopova)

Sure. Attaching the report. I am using System Theme - Auto, since it is the only theme that works with translucency.

Flags: needinfo?(ypopova)

To reproduce this you'll likely need the following prefs set to true (which I don't think are apparent in the about:support output):

  • widget.macos.titlebar-blend-mode.behind-window
  • widget.macos.sidebar-blend-mode.behind-window (not-needed)
  • browser.theme.native-theme

Plus the system theme - Auto enabled. Based on the screenshot the OS is set to the light theme.

I have noted a similar issue with a Dark OS theme, but the effect is variable based on what is behind the window. So for example for me with the dark OS theme and translucency enabled the dark shadow stands out, however conversely if I move the window over something darker the shadow will be almost invisible.

If it's possible to reduce the transparency slightly that might reduce the variance? Alternatively would removing the shadows when translucency is enabled be an option to consider.

Another issue caused by the fades being more prominent is it's noticeable when they abruptly dissappear when scrolling to the top of the screen (see the screencast above for an example - though note the framerate of the gif is somewhat reduced).

Yes, we should just use rgba() for the shadow with the system theme. We don't need to use the toolbar color there.

The severity field is not set for this bug.
:sclements, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)
Severity: -- → S4
Flags: needinfo?(sclements)
Priority: -- → P2
Whiteboard: [fidefe-sidebar]
Assignee: nobody → nsharpley
Assignee: nsharpley → nobody
Assignee: nobody → nsharpley

FWIW something like what I just attached seems to work nicely across both native and non-native themes. Thoughts?

Attachment #9472314 - Attachment description: WIP: Bug 1943927 - Don't use toolbox bgcolor for scroll fade gradient. → Bug 1943927 - Don't use toolbox bgcolor for scroll fade gradient. r=#theme,#sidebar-reviewers

Tentatively taking after checking with Nikki :)

Assignee: nsharpley → emilio
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa1a839303b3 Don't use toolbox bgcolor for scroll fade gradient. r=sidebar-reviewers,tabbrowser-reviewers,nsharpley
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: