[Wayland] Visible artifacts during window resize
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
When wayland surface is newly created or resized,
postpone buffer commit (drawing) until gecko updates whole screen
and don't publish partial updates.
Just tested the latest firefox 66 build from koji for fedora 29 which contains a fix for this issue. I then grabbed the bottom right corner of firefox and just did circular motions with the mouse to test the resizing. The result was that the window refresh stopped after just half a second or so, and I ended upp with just a dropshadow rectangle (I guess drawn by mutter) being resized and following my mouse. And when I stopped the resize the window was still not refreshed, so I had my strange looking window and a drop-shadow rectangle.
Then To reset things, I just did a maximize window and back.
Assignee | ||
Comment 3•6 years ago
|
||
I see, thanks for testing.
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Mattias from comment #2)
Just tested the latest firefox 66 build from koji for fedora 29 which
contains a fix for this issue. I then grabbed the bottom right corner of
firefox and just did circular motions with the mouse to test the resizing.
The result was that the window refresh stopped after just half a second or
so, and I ended upp with just a dropshadow rectangle (I guess drawn by
mutter) being resized and following my mouse. And when I stopped the resize
the window was still not refreshed, so I had my strange looking window and a
drop-shadow rectangle.Then To reset things, I just did a maximize window and back.
That should be covered by a new patch attached here.
Tested it and I cannot reproduce the issues I had with the previous patch. So it works from that perspective... I don't see any other visual artifacts during resize either.
For me this patch fixes the damage when manually resizing the window but not when restoring/maximizing/fullscreening on Ubuntu 18.10 with Mesa 19.1-devel.
Assignee | ||
Comment 7•6 years ago
|
||
(In reply to Kestrel from comment #6)
For me this patch fixes the damage when manually resizing the window but not
when restoring/maximizing/fullscreening on Ubuntu 18.10 with Mesa 19.1-devel.
Those artifacts comes from Gtk and need a different fix.
(In reply to Martin Stránský [:stransky] from comment #7)
Those artifacts comes from Gtk and need a different fix.
In which case Bug 1535565 is unrelated.
Assignee | ||
Updated•6 years ago
|
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85721a77dd52
[Wayland] Visible artifacts during window resize, r=ashie
Comment 10•6 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•