Black border around some menus when X11/EGL is enabled
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | fix-optional |
People
(Reporter: tgnff242, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
- Start Firefox Nightly with
MOZ_X11_EGL=1
on Linux (and KWin Window Manager). - Click on the Main Menu, Library, or an extension icon.
Actual results:
There is a thick black border around the menu.
Expected results:
Mozregression points to Bug 1684194.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Set release status flags based on info from the regressing bug 1684194
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Looks like visual mismatch, it's a variant of Bug 1663003.
Comment 4•4 years ago
|
||
Can you please test Gnome if you see it too?
Thanks.
Comment 5•4 years ago
|
||
This can be easily workarounded by disabled WebRender for popups but I'd rather avoid it if possible.
Right now the working transparency for EGL windows is pure luck and depends on window manager.
Comment 6•4 years ago
|
||
Do you have enabled screen compositing or not?
I tested Gnome and I've got the same issue on it, so it's not KDE-specific.
Yes, I have compositing enabled in KWin. If I disable it, this border goes away.
Comment 8•4 years ago
|
||
This seems to be a regression. I can reproduce this with Debian sid/unstable and gnome-shell 3.38.4-1.
Comment 9•4 years ago
|
||
There is no transparency at all on EGL/X11, Gnome Xwayland, Debian Testing, Mesa 20.3.4, Intel(R) Iris(R) Graphics 6100 (BDW GT3), Macbook Pro.
- Top left and top right main window corners are not round, but black.
- Panel borders are black.
Comment 11•4 years ago
|
||
I have a related but much more debilitating issue where everything renders as partially transparent on two systems with Intel Gen9 GPUs running Kubuntu 21.04. The screenshot demonstrates this. Curiously, I have another system with an Intel Gen8 GPU that suffers from the same problem everyone else described. Starting a fresh profile doesn't make a difference in either case. I have the issue both on 88b2 and on nightly.
Comment 12•4 years ago
|
||
Oh, now I see my problem is actually https://bugzilla.mozilla.org/show_bug.cgi?id=1699864 and/or https://bugzilla.mozilla.org/show_bug.cgi?id=1700030.
Updated•4 years ago
|
Comment 13•4 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #3)
Looks like visual mismatch, it's a variant of Bug 1663003.
(In reply to Darkspirit from comment #9)
There is no transparency at all on EGL/X11, Gnome Xwayland, Debian Testing, Mesa 20.3.4, Intel(R) Iris(R) Graphics 6100 (BDW GT3), Macbook Pro.
- Top left and top right main window corners are not round, but black.
- Panel borders are black.
https://searchfox.org/mozilla-central/rev/be906232eedb22c064b78f3806b38964c04f1fbc/widget/gtk/nsWindow.cpp#4644-4664
Has isAccelerated
somehow become false
, or is ConfigureX11GLVisual()
called with false
(no alpha)?
Edit: bug 1699864 comment 10 found the problem.
Comment 14•4 years ago
|
||
Fix confirmed in bug 1699864 comment 13.
Description
•