DESCRIPTION The shortcut for closing windows in desktop grid mode does not working when using a touchpad. Pressing the physical middle button of the touchpad or using the three fingers gesture does not make any difference, the windows do not close. Instead, if you use a mouse, the shortcut works. STEPS TO REPRODUCE 1. Enter the desktop grid using META+W or by moving the cursor on the top left corner of the screen. 2. Move the cursor over a window. 3. Press the middle button of the touchpad or try using the three finger gesture mapped as middle button press in the system settings. OBSERVED RESULT Any window is not closing. EXPECTED RESULT The window should close. SOFTWARE/OS VERSIONS Operating System: CachyOS Linux KDE Plasma Version: 6.7.0 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1 ADDITIONAL INFORMATION I monitored the input via `libinput debug-events` while performing the 3-finger tap and also pressing the physical middle button of the touchpad inside the Overview (desktop grid). The hardware and libinput correctly register and send the BTN_MIDDLE event, confirming this is not a hardware or libinput issue: event9 POINTER_BUTTON +15.711s BTN_MIDDLE (274) pressed, seat count: 1 event9 POINTER_BUTTON +15.792s BTN_MIDDLE (274) released, seat count: 0
Same bug in my laptop. Additionally, the right-click that pins the windows is not working in Overview (same problem than middle-click to close). With mouse, both are working as expected.
I can reproduce the issue on KDE Linux.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/9523
*** Bug 522506 has been marked as a duplicate of this bug. ***
Git commit 82eaba4c1f8a5aa44ef8be4b746148c1d09d12ae by Xaver Hugl. Committed on 06/07/2026 at 15:21. Pushed by zamundaaa into branch 'master'. plugins/overview: fix middle click with touchpads acceptedPointerTypes filters by the type of interaction, which for touchpads is "finger". I don't quite understand why that API even exists, but it's definitely wrong for this. Instead of checking how the user interacts with the device, simply filter for the actual mouse and touchpad device types. M +1 -1 src/plugins/overview/qml/Main.qml https://invent.kde.org/plasma/kwin/-/commit/82eaba4c1f8a5aa44ef8be4b746148c1d09d12ae
Git commit 4cb9e3bc64ce518abde6b56b40799b76ccac82f6 by Xaver Hugl. Committed on 06/07/2026 at 19:54. Pushed by zamundaaa into branch 'Plasma/6.7'. plugins/overview: fix middle click with touchpads acceptedPointerTypes filters by the type of interaction, which for touchpads is "finger". I don't quite understand why that API even exists, but it's definitely wrong for this. Instead of checking how the user interacts with the device, simply filter for the actual mouse and touchpad device types. (cherry picked from commit 82eaba4c1f8a5aa44ef8be4b746148c1d09d12ae) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +1 -1 src/plugins/overview/qml/Main.qml https://invent.kde.org/plasma/kwin/-/commit/4cb9e3bc64ce518abde6b56b40799b76ccac82f6