Closed Bug 1946487 Opened 1 month ago Closed 29 days ago

"Layer Compositor" makes transparent windows have a black backdrop

Categories

(Core :: Widget: Win32, defect)

defect

Tracking

()

VERIFIED FIXED
137 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- unaffected
firefox137 --- fixed

People

(Reporter: mayankleoboy1, Assigned: gw)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

enable mica
Set gfx.webrender.layer-compositor = TRUE (this is off for now, but will become true in 1-2 days). Bug 1945683.

AR: The tab bars are black
ER: Not so.

Glenn is it expected that the layer compositor doesn't support transparency?

Flags: needinfo?(gwatson)

Mayank do you know if non-native alerts (alerts.useSystemBackend = true) show the same issue? (No shadow, black backdrop?)

Flags: needinfo?(mayankleoboy1)

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

Mayank do you know if non-native alerts (alerts.useSystemBackend = true) show the same issue? (No shadow, black backdrop?)

This preference is already true for me. I dont know how to test it though. Are these web notifications ?
I tried with https://cleverpush.com/en/test-notifications/, and the notifications look fine.

Sorry I should've written alerts.useSystemBackend = false, ugh. https://www.bennish.net/web-notifications.html is my go-to page to test notifications. They should show an alert window drawn by Firefox rather than the windows notifications.

this is what i
They also stack on top of each other.
While disappearing, they sort of shimmer, turn black and then disappear.

Flags: needinfo?(mayankleoboy1)

Yeah, so not mica specific. There should be shadows rather than black borders.

Keywords: regression
Regressed by: 1945683
Summary: Mica and "Layer Compositor" enabled together makes the TAb-bar black → "Layer Compositor" makes transparent windows have a black backdrop
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

(In reply to Mayank Bansal from comment #6)

Created attachment 9464423 [details]
Screenshot 2025-02-06 220048.png

this is what i
They also stack on top of each other.
While disappearing, they sort of shimmer, turn black and then disappear.

I can't reproduce this locally with layer compositor enabled on current nightly, which is interesting. Does it still occur for you, and are there any other repro steps you can think of that may be relevant?

Flags: needinfo?(mayankleoboy1)

Oh, never mind - I had incorrectly set the alerts backend pref, I can reproduce now, thanks.

Flags: needinfo?(mayankleoboy1)
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a1a53ae485e Fix transparent top level windows with layer compositor r=gfx-reviewers,lsalzman

The autoland build also seems to fix all of the other regressio bugs i filed! I will wait for this patch to hit Nightly before duping them over.

Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

This is fixed on the latest Nightly.

Status: RESOLVED → VERIFIED
See Also: → 1948882
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: