Summary: | Reverse scroll direction when navigating virtual desktops with Super+Alt+mousewheel shortcut | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | arpan <arpan.is> |
Component: | libinput | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fanzhuyifan, kde, kdedev, nate, services |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=493467 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/369ebc17b174a42b6bda6d22ec31ec8cdb36aefa | Version Fixed In: | |
Sentry Crash Report: |
Description
arpan
2024-03-14 19:44:32 UTC
What exact thing are you scrolling over to switch virtual desktops? The issue is reproducible by scrolling on desktop itself and desktop pager in panel, both. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I'm not able to reproduce this on 6.1.4, but I am able to reproduce on git-master (scrolling down moves to the virtual desktop above the last one, and vice versa) FWIW, you can just use the scroll wheel over the desktop or pager. You don't need to also hold down Super + Alt https://docs.kde.org/stable5/en/kwin/kcontrol/desktop/index.html This report is about the Meta+Alt+Scroll shortcuts configured by kwin, while BUG 493467 is about scrolling on the pager. *** Bug 498523 has been marked as a duplicate of this bug. *** In particular, kwin configures Meta+Alt+PointerAxisDown to be "Switch to Next Desktop", (https://invent.kde.org/plasma/kwin/-/blob/b36151e81a456d25b118abadb791b4a12bc624be/src/virtualdesktops.cpp#L792) scrolling to move the content down generates libinput pointer axis events with positive y value (with or without natural scroll), however that seems to be converted to PointerAxisUp events by kwin (https://invent.kde.org/plasma/kwin/-/blob/b36151e81a456d25b118abadb791b4a12bc624be/src/input.cpp#L999) A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6991 Git commit 369ebc17b174a42b6bda6d22ec31ec8cdb36aefa by Vlad Zahorodnii, on behalf of Yifan Zhu. Committed on 16/01/2025 at 16:08. Pushed by vladz into branch 'master'. input: fix axis shortcut direction Currently kwin directly construct pointerAxis events from libinput, instead of relying on QWheelEvent. So positive delta corresponds to right/down, instead of left/up. M +6 -6 autotests/integration/lockscreen.cpp M +6 -6 autotests/integration/no_global_shortcuts_test.cpp M +4 -4 src/input.cpp M +2 -2 src/plugins/zoom/zoom.cpp https://invent.kde.org/plasma/kwin/-/commit/369ebc17b174a42b6bda6d22ec31ec8cdb36aefa |