Summary: | X11: desktop grid can't be closed using the same keyboard shortcut | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | bastimeyer123 |
Component: | effects-overview | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | breakingspell, nate, niccolo |
Priority: | NOR | Keywords: | qt6 |
Version: | 6.0.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/ee0dd6c8c5939bd40f2ff58681093eefce8ecc5a | Version Fixed In: | 6.0.4 |
Sentry Crash Report: |
Description
bastimeyer123
2024-03-08 23:36:28 UTC
Confirmed here. This affects both "Toggle Overview" and "Toggle Grid View", but not either of the Cycle functions. Taking a look at the code, I think I see a distinct difference in how they are handled: https://invent.kde.org/plasma/kwin/-/blob/master/src/plugins/overview/overvieweffect.cpp?ref_type=heads#L340 The cycle routines have their own specific handlers in this, like "cycle();", while the toggles use "m_gridState->toggleAction();" and same for overview. I tried testing with a quick and dirty "toggleGrid();" with similar functionality to cycle(); with one less state, no success yet. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5505 Tested the above merge request over 6.0.2, works for me! Git commit c8e05680224e43a3d7487672bb882f2249eb92c0 by Vlad Zahorodnii, on behalf of Niccolò Venerandi. Committed on 27/03/2024 at 10:01. Pushed by vladz into branch 'master'. Fix oversights on shortcut handling within Overview/Grid effect M +3 -3 src/plugins/overview/overvieweffect.cpp https://invent.kde.org/plasma/kwin/-/commit/c8e05680224e43a3d7487672bb882f2249eb92c0 Git commit ee0dd6c8c5939bd40f2ff58681093eefce8ecc5a by Vlad Zahorodnii, on behalf of Niccolò Venerandi. Committed on 27/03/2024 at 10:26. Pushed by vladz into branch 'Plasma/6.0'. Fix oversights on shortcut handling within Overview/Grid effect (cherry picked from commit c8e05680224e43a3d7487672bb882f2249eb92c0) M +3 -3 src/plugins/overview/overvieweffect.cpp https://invent.kde.org/plasma/kwin/-/commit/ee0dd6c8c5939bd40f2ff58681093eefce8ecc5a The issue seems to be back on 6.1.0. I just logged into an X11 session in order to check something because of a different bug report and noticed that the grid can't be closed again using the same shortcut. Working fine on Wayland. Still working here on Wayland, FWIW. |