After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789050 - Cloned actors with offscreen effects clipped to source actor
Cloned actors with offscreen effects clipped to source actor
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-16 10:05 UTC by Mai Lavelle
Modified: 2019-01-24 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
possible fix (4.77 KB, patch)
2017-10-16 10:05 UTC, Mai Lavelle
none Details | Review

Description Mai Lavelle 2017-10-16 10:05:10 UTC
Created attachment 361656 [details] [review]
possible fix

I had created a gnome shell extension to invert the color of windows. A while back a change in how the shell handled display of windows in the workspace ui and app switcher caused the extension to break a bit. The effects are an unpleasant disappearing, flashing and flickering of windows when those elements are active or a window is animated. With the changes made to the shell it seams there is no easy or clean way to fix this from the extension.

The cause of the flickering and disappearances is ClutterOffscreenEffect making use of the source actors dimensions instead of the clones and thus rendering into a framebuffer with the wrong offset and size. Attached is a patch to fix this.

You can see the issue with the extension, modified with all injection code removed (it still needs to be updated to the new shell versions).

https://extensions.gnome.org/extension/1041/invert-window-color/
Comment 1 Daniel van Vugt 2018-04-30 02:50:22 UTC
Work in progress:
https://gitlab.gnome.org/GNOME/mutter/merge_requests/52
Comment 2 Daniel van Vugt 2018-05-16 09:00:38 UTC
Also older related reports (duplicates?):

https://bugzilla.gnome.org/show_bug.cgi?id=659523
https://bugzilla.gnome.org/show_bug.cgi?id=685766
Comment 3 Marco Trevisan (Treviño) 2019-01-24 17:10:09 UTC
Fixed with commit 8655bc5d8de6a969e0ca83eff8e450f62d28fbee