CSD regression: (Un)maximizing/snapping a window can break window content on KDE and Gnome
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | wontfix |
firefox-esr68 | --- | wontfix |
firefox-esr78 | --- | fix-optional |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
firefox70 | --- | wontfix |
firefox72 | --- | wontfix |
firefox73 | --- | wontfix |
firefox74 | --- | wontfix |
firefox78 | --- | wontfix |
firefox79 | --- | wontfix |
firefox80 | --- | wontfix |
firefox81 | --- | wontfix |
firefox82 | --- | fix-optional |
People
(Reporter: jan, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(4 files)
Comment hidden (obsolete) |
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
•
|
||
STR |
Debian Testing, X11, Macbook Pro
STR for KDE:
- run
mozregression --launch 2019-05-01 --pref layers.acceleration.force-enabled:true -a about:blank
- Open Help > About Nightly, maximize it, unmaximize it, etc.
(Regression range is the same as in comment 0.)
Fine:
MOZ_GTK_TITLEBAR_DECORATION=none mozregression --launch 2019-05-01 --pref layers.acceleration.force-enabled:true -a about:blank
MOZ_GTK_TITLEBAR_DECORATION=system mozregression --launch 2019-05-01 --pref layers.acceleration.force-enabled:true -a about:blank
Broken (as without env var):
MOZ_GTK_TITLEBAR_DECORATION=client mozregression --launch 2019-05-01 --pref layers.acceleration.force-enabled:true -a about:blank
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 5•6 years ago
|
||
WebRender's picture caching makes this bug more likely/visible.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
There are several images of examples when changing workspaces on XFCE attached to bug 1547964.
(I see this dozens of times a day.)
Reporter | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Jan, is this bug for accelerated (web render / GL compositor) or non-accelerated Firefox? Because it may be a different bug in all those cases.
Reporter | ||
Comment 10•5 years ago
|
||
OpenGL + WebRender.
Changing workspaces is WebRender-only bug 1514148 though.
Reporter | ||
Comment 11•5 years ago
|
||
bug 1569745 is an OpenGL+WebRender bug like this one, too. Both were caused by enabling CSD / ARGB visual.
An observation: In comment 3 (attachment 9062697 [details]) you see that "About Firefox Nightly" is not correctly sized right after opening it. I would not be surprised if it was related to bug 1489463.
Comment 12•5 years ago
|
||
Happy to take a patch for 70 or beyond.
Since we are getting close to the end of the 69 beta cycle and this is set to P3, I'm marking it fix-optional for 69 and 70 to remove it from weekly triage.
Comment 13•5 years ago
|
||
Jan, is that X11 only or it's broken on both X11 and Wayland? Thanks.
Comment 14•5 years ago
|
||
Should be fixed by bug 1489463.
Reporter | ||
Comment 15•5 years ago
•
|
||
Sorry: Attached screencast is WebRender/KDE/X11/Debian Testing/Macbook Pro.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 16•5 years ago
|
||
(And if you noticed that menu entries are highlighted with a delay - the paint happens only when the next entry is hovered -, that's bug 1567791: WebRender uses Basic Compositor for small widgets. The problem only happens with Basic widgets inside GPU process when using a non-compositing window manager. It would also occur when directly using Basic compositing + gpu process + layers.gpu-process.allow-software;true)
Comment 17•5 years ago
|
||
It's not clear to me if that bug is still valid, is that a duplicate of bug 1489463 ?
Reporter | ||
Comment 18•5 years ago
|
||
bug 1489463 was about a broken main window on startup (screencast: bug 1489463 comment 62) and was fixed.
This bug is about broken painting when maximizing a window other than the main window, e.g. Library, Downloads, About.
Updated•5 years ago
|
Comment 20•5 years ago
|
||
Please test it under Plasma 5.18 - it should support some Gtk+ specific hacks.
Reporter | ||
Comment 21•5 years ago
|
||
The bug is still present with Plasma 5.18.3/Ubuntu 20.04 (Radeon RX480) and Plasma 5.17.5/Debian Testing (Macbook Pro: Intel Iris 6100 Broadwell GT3).
- Debian Testing doesn't have 5.18 yet: https://tracker.debian.org/pkg/plasma-desktop
- Screencast: Ubuntu 20.04 with Plasma 5.18.3: https://packages.ubuntu.com/focal/plasma-desktop
I upgraded from Ubuntu 19.10 to Ubuntu 20.04:sudo apt install plasma-desktop sudo do-release-upgrade -d # development version
Reporter | ||
Comment 22•5 years ago
|
||
I can't reproduce this bug with GDK_BACKEND=wayland because Firefox is freezing: bug 1609115 (bug 1593478 == bug 1584845)
Reporter | ||
Comment 23•5 years ago
|
||
KDE/X11: Software WebRender (bug 1601053) is affected by this as well.
Reporter | ||
Comment 26•4 years ago
•
|
||
Also reproducible with Gnome XWayland, Debian Testing, 2560x1440@60Hz, Intel HD Graphics 630 (KBL GT2).
mozregression --launch 2020-07-30 --pref gfx.webrender.all:true layers.gpu-process.enabled:false -a https://keithclark.co.uk/labs/css-fps/nojs/
» About Firefox with Minecraft glass effect «
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 27•3 years ago
|
||
With my own small EGL/X11 demo app I encountered a bug that looked exactly the same as the one in comment 3, comment 15 and comment 21.
I could fix it with:
// If not set, some GL frames are just empty on Gnome Xwayland+X11/Mesa.
// https://docs.gtk.org/gtk3/method.Widget.set_double_buffered.html
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_widget_set_double_buffered(GTK_WIDGET(window_widget_ptr), FALSE);
G_GNUC_END_IGNORE_DEPRECATIONS
Firefox has gotten a similar code line:
https://searchfox.org/mozilla-central/rev/cdfdd9704d53b1dd03b991ab508fe5cffa461609/widget/gtk/nsWindow.cpp#5739
I need to retest this bug on KDE/X11.
Updated•3 years ago
|
Comment 28•4 months ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE
.
For more information, please visit BugBot documentation.