Bug 475681 - Middle click to close does not work in new Overview
Summary: Middle click to close does not work in new Overview
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-10-16 06:45 UTC by Quinten Kock
Modified: 2023-10-24 11:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quinten Kock 2023-10-16 06:45:08 UTC
SUMMARY
In the new Meta+W overview in Plasma 6, I cannot close a window by middle-clicking on it. I think this used to work in Plasma 5, and is very useful to quickly close a window.

STEPS TO REPRODUCE
1. Open overview (meta+w)
2. Middle click a window

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Window closes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.2

ADDITIONAL INFORMATION
Middle clicking to remove a virtual desktop _does_ still work. Additionally, should middleclick do anything in the new desktop grid?
Comment 1 Nate Graham 2023-10-20 15:26:58 UTC
Niccolò, can you take care of fixing this?
Comment 2 Bug Janitor Service 2023-10-24 09:13:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4565
Comment 3 Vlad Zahorodnii 2023-10-24 11:21:56 UTC
Git commit 255283b74a27ab8d3bdbb6235fbe31b72e75bfe0 by Vlad Zahorodnii.
Committed on 24/10/2023 at 13:14.
Pushed by vladz into branch 'master'.

plugins/overview: Fix MMB and RMB

Both MMB and RMB are broken because acceptedPointerTypes doesn't accept
PointerDevice.GenericPointer.

RMB is broken because there's no "desktopView" object.

M  +2    -2    src/plugins/overview/qml/main.qml

https://invent.kde.org/plasma/kwin/-/commit/255283b74a27ab8d3bdbb6235fbe31b72e75bfe0