Bug 479802 - "Drag down to close" message inappropriately seen when dragging windows down with a pointing device
Summary: "Drag down to close" message inappropriately seen when dragging windows down ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-01-14 14:56 UTC by Nate Graham
Modified: 2024-01-16 15:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-01-14 14:56:54 UTC
STEPS TO REPRODUCE
1. Open a lot of windows
2. Open Overview effect
3. Using a mouse or touchpad, drag one of the windows on the top row down


OBSERVED RESULT
A label saying "Drag down to close" appears over the window, increasing in opacity as the window is dragged down. However releasing the window does not actually close it.


EXPECTED RESULT
This message is not seen; it's only supposed to be visible when dragging a window using touch


ADDITIONAL INFORMATION
Dragging down to close using touch does work as expected for me.

Only tested all of this on Wayland; it's possible that the issue doesn't happen on X11.
Comment 1 Bug Janitor Service 2024-01-15 13:35:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4928
Comment 2 Vlad Zahorodnii 2024-01-15 14:07:10 UTC
Git commit 2d71d7cada95bad5b317e82d558bfa9b6deb31e6 by Vlad Zahorodnii.
Committed on 15/01/2024 at 14:35.
Pushed by vladz into branch 'master'.

plugins: Hide "Drag Down to Close" when using a pointing device

M  +1    -1    src/plugins/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/-/commit/2d71d7cada95bad5b317e82d558bfa9b6deb31e6
Comment 3 Vlad Zahorodnii 2024-01-15 14:23:49 UTC
Git commit fc7a92096bafe106f94022d9f1ec7a3e22254a78 by Vlad Zahorodnii.
Committed on 15/01/2024 at 15:07.
Pushed by vladz into branch 'Plasma/6.0'.

plugins: Hide "Drag Down to Close" when using a pointing device


(cherry picked from commit 2d71d7cada95bad5b317e82d558bfa9b6deb31e6)

M  +1    -1    src/plugins/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/-/commit/fc7a92096bafe106f94022d9f1ec7a3e22254a78