Summary: | Fade effect is being executed for minimized windows | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Alexander <vo.zaeb> |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | regression |
Priority: | NOR | Flags: | mgraesslin:
ReviewRequest+
|
Version: | 4.8.97 | ||
Target Milestone: | 4.9.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/105647/ | ||
Latest Commit: | http://commits.kde.org/kde-workspace/fa2e7c4348fc052c65d0fe96eced5650b6da88fb | Version Fixed In: | 4.9.0 |
Sentry Crash Report: | |||
Attachments: | Example video |
Description
Alexander
2012-07-21 15:18:22 UTC
Created attachment 72669 [details]
Example video
Found the reason and I rather doubt that it worked before. When the windowClosed signal is emitted the EffectWindow belongs already to the Deleted instance, but the minimized property has not been copied over to the Deleted, thus evaluating to false when trying to access it, thus breaking all checks whether the window should be animated. Git commit fa2e7c4348fc052c65d0fe96eced5650b6da88fb by Martin Gräßlin. Committed on 21/07/2012 at 18:09. Pushed by graesslin into branch 'KDE/4.9'. Pass property minimized from Client to Deleted Ensures that we can access the minimized property in Effects which want to not animate a closed, minimized window. Make use of it in the Fade Effect Script to not fade out a minimized window which would mean showing the actual not visible window. FIXED-IN: 4.9.0 REVIEW: 105647 M +2 -0 kwin/deleted.cpp M +5 -0 kwin/deleted.h M +1 -1 kwin/effects/fade/package/contents/code/main.js http://commits.kde.org/kde-workspace/fa2e7c4348fc052c65d0fe96eced5650b6da88fb Thank you. Think this bug wasn't noticeable before, because of the bug from where this one has been extracted. |