
If the actor is not on the stage yet (i.e. does not have a theme node), but has a paint state cached, we currently fail to invalidate it, which will lead to the actor painting with old contents once it gets onto the stage. This commit fixes the issue by changing our invalidation strategy; previously we were looking at the widget's own theme node to determine if it should be invalidated or not. Now we look at the theme nodes of our cached paint states. When the widget is mapped on stage, those are the same as the widget's own theme node, but when the widget is not on the stage, we'll still be able to invalidate them. As part of this, we move the invalidation API to StThemeNodePaintState, which is a more natural place for our use case. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/314 (cherry picked from commit 6743c18fdfa6dc48fb7d920640debe863018dd38)
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: https://wiki.gnome.org/Projects/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.
Description
Languages
C
49.2%
JavaScript
47.4%
SCSS
1.4%
Meson
0.8%
Python
0.6%
Other
0.4%