Summary: | First left click on the buttons of Aurorae window decoration has no effect | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
Component: | aurorae | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | imagesfromobjects, Kanwar.Plaha, nate, severinvonw |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 5.23.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/d1efd8bc9e539a9e8febaf5052330b3ffbc5f924 | Version Fixed In: | 5.24 |
Sentry Crash Report: |
Description
Patrick Silva
2022-01-14 17:01:59 UTC
Cannot reproduce. *** Bug 449205 has been marked as a duplicate of this bug. *** I can confirm this issue on both X11 and Wayland with Aurorae window decorations. My steps to reproduce are slightly different: 1. Open any application (e.g. Dolphin) 2. Minimize the application 3. Restore the application 4. Click on the close button, nothing happens 5. Click on the close button again, window closes Versions: Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 *** Bug 449280 has been marked as a duplicate of this bug. *** I've been able to identify the commit that's causing this problem: kwineffects: Make OffscreenQuickView generate double click events 4881dd63a7c34d12b708494c55e1928c67f92e86 It looks like QMouseEvent::timestamp() is always zero which turns every second mouse click into a double click. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1956 Git commit 5fe9fd13adc7f28e7fcaf53b04c80eee0c7a0d83 by Nate Graham, on behalf of Severin von Wnuck. Committed on 31/01/2022 at 17:54. Pushed by ngraham into branch 'master'. Add timestamp to window decoration mouse events Since 4881dd63 replaced the double click timer for OffscreenQuickView with a time check, we need to make sure the timestamp from XInput/libinput is passed on to the actual QMouseEvent. M +1 -0 src/events.cpp M +1 -0 src/input.cpp https://invent.kde.org/plasma/kwin/commit/5fe9fd13adc7f28e7fcaf53b04c80eee0c7a0d83 Git commit d1efd8bc9e539a9e8febaf5052330b3ffbc5f924 by Nate Graham, on behalf of Severin von Wnuck. Committed on 31/01/2022 at 17:56. Pushed by ngraham into branch 'Plasma/5.24'. Add timestamp to window decoration mouse events Since 4881dd63 replaced the double click timer for OffscreenQuickView with a time check, we need to make sure the timestamp from XInput/libinput is passed on to the actual QMouseEvent. (cherry picked from commit 5fe9fd13adc7f28e7fcaf53b04c80eee0c7a0d83) M +1 -0 src/events.cpp M +1 -0 src/input.cpp https://invent.kde.org/plasma/kwin/commit/d1efd8bc9e539a9e8febaf5052330b3ffbc5f924 |