| Summary: | Changing compositor animation speed settings causes currently opened Wayland windows minimize/maximize/unminimize without animation | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Alexander Mentyu <notuxius> |
| Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kwin/722af0215339e6555050fd50114ac4bf2fc921fe | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Alexander Mentyu
2018-10-24 13:42:42 UTC
Hmm, looks like we're not connecting to existing wayland clients when creating EffectsHandler. (In reply to Vlad Zagorodniy from comment #1) > Hmm, looks like we're not connecting to existing wayland clients when > creating EffectsHandler. Quite likely as initially we didn't support a compositor restart. Git commit 722af0215339e6555050fd50114ac4bf2fc921fe by Vlad Zagorodniy. Committed on 26/10/2018 at 11:48. Pushed by vladz into branch 'master'. [effects] Recreate shell client connections after compositor settings have been changed Summary: If the animation speed was changed, then EffectsHandler will be destroyed and created again. Because we don't create connections to monitor state of Wayland clients in EffectsHandler constructor, effects like the Magic lamp won't work after changing compositor settings. Test Plan: * Changed animation speed; * Minimized a Wayland client. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16401 M +8 -0 effects.cpp https://commits.kde.org/kwin/722af0215339e6555050fd50114ac4bf2fc921fe |