https://bugs.kde.org/show_bug.cgi?id=406303
Kai Uwe Broulik <k...@privat.broulik.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/pla | |sma-framework/1b2424879a198 | |af3de2988f64182d70e6c0c199e Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #6 from Kai Uwe Broulik <k...@privat.broulik.de> --- Git commit 1b2424879a198af3de2988f64182d70e6c0c199e by Kai Uwe Broulik. Committed on 25/04/2019 at 13:04. Pushed by broulik into branch 'master'. [Window Thumbnail] Also monitor scene visibility and clean up Just because the item is visible doesn't mean the window itself is. Keep track of the window it's in. Use itemChange instead of connects and move the check for starting to startRedirect so we don't have to check the conditions for that in every change handler (visible && enabled && window->visible). It also saves three connects in the constructor. Also, don't unredirect if we didn't redirect in the first place to avoid warnings printed on console. Differential Revision: https://phabricator.kde.org/D20805 M +62 -32 src/declarativeimports/core/windowthumbnail.cpp M +7 -1 src/declarativeimports/core/windowthumbnail.h https://commits.kde.org/plasma-framework/1b2424879a198af3de2988f64182d70e6c0c199e -- You are receiving this mail because: You are watching all bug changes.