Closed Bug 1697341 Opened 4 years ago Closed 4 years ago

Remove "sheet" vibrancy

Categories

(Core :: Widget: Cocoa, task, P1)

All
macOS
task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file)

We currently have some custom vibrancy code to give sheet windows a blurred appearance.

This code is no longer needed. The regular window background for sheet windows draws the blur, and the window content drawn by Gecko is transparent, so the blur shines through.

There is one caveat: On 10.14 and above, as long as we force the aqua appearance, there is no default blur. But once we stop forcing the aqua appearance, the blur is back. So this means that we'll have a window without sheet blur between the time when this bug lands and the time when bug 1623686 lands.

Furthermore, removing our custom sheet window vibrancy is required to make sheet windows adapt to Dark Mode (and not clash with white text), so we actually have to do this before we can land bug 1623686.

With -moz-appearance: dialog now always being transparent, setting up our own
vibrant views for sheet windows is no longer necessary. We now let the regular
sheet window background show through, and that background is already vibrant.

Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/1ccb7fa94f32 Remove vibrancy code for sheet windows. r=spohl
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: