Summary: | Screen flickers when switching virtual desktop with touchpad gesture and animations are off | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Quinten Kock <quinten> |
Component: | Gestures | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate |
Priority: | NOR | ||
Version First Reported In: | 5.27.6 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/1c447b7cee950e99761763c80c15e6e862b40b4b | Version Fixed In: | 5.27.9 |
Sentry Crash Report: |
Description
Quinten Kock
2023-08-01 23:39:17 UTC
I just noticed, when using the keyboard shortcut to switch between desktops the same issue happens. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4507 Git commit 94b74cff960566d42813ecf4847637c2283a6fac by Vlad Zahorodnii, on behalf of Quinten Kock. Committed on 16/10/2023 at 19:07. Pushed by vladz into branch 'master'. plugins/slide: add special case for instant animations In springmotion.cpp for the slide plugin, there are issues when animations are disabled, namely a black screen flicker. The flicker is caused by float under/overflow (div-by-0 -> infinity). This commit fixes that by special-casing an infinite spring constant, so that the animation immediately jumps to the anchor. M +10 -0 src/plugins/slide/springmotion.cpp https://invent.kde.org/plasma/kwin/-/commit/94b74cff960566d42813ecf4847637c2283a6fac Git commit 1c447b7cee950e99761763c80c15e6e862b40b4b by Vlad Zahorodnii, on behalf of Quinten Kock. Committed on 16/10/2023 at 19:07. Pushed by vladz into branch 'Plasma/5.27'. plugins/slide: add special case for instant animations In springmotion.cpp for the slide plugin, there are issues when animations are disabled, namely a black screen flicker. The flicker is caused by float under/overflow (div-by-0 -> infinity). This commit fixes that by special-casing an infinite spring constant, so that the animation immediately jumps to the anchor. (cherry picked from commit 94b74cff960566d42813ecf4847637c2283a6fac) M +10 -0 src/effects/slide/springmotion.cpp https://invent.kde.org/plasma/kwin/-/commit/1c447b7cee950e99761763c80c15e6e862b40b4b |