Summary: | Drag and drop not possible with tablet stylus on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Kath <krazykath> |
Component: | Wayland drag-and-drop | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dmatteo002, josh, krazykath, mail, nate, nicolas.fella, scott |
Priority: | NOR | Keywords: | wayland-only |
Version First Reported In: | 6.0.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/706257c7a57c295ca4a601f92018c4d589150b7a | Version Fixed In: | 6.5.0 |
Sentry Crash Report: |
Description
Kath
2024-06-10 18:07:32 UTC
I'm afraid each case where you see this needs its own bug report, as on Wayland the implementation of stylus handling is per-app, not universal. So please feel free to open individual bug reports, one per issue. Thanks for letting me know, I'll get to work on individual bug reports This is half a Qt problem and half a KWin problem. The Qt part is fixed with https://codereview.qt-project.org/c/qt/qtwayland/+/568059 and https://codereview.qt-project.org/c/qt/qtwayland/+/568058 The KWin problem is that the dragging code only considers pointer and touch input, but not tablet input. See e.g. https://invent.kde.org/plasma/kwin/-/blob/master/src/wayland/datadevice.cpp#L98 So ultimately all those cases have a common root cause. Sorry for making you file these separate reports *** Bug 488329 has been marked as a duplicate of this bug. *** *** Bug 488333 has been marked as a duplicate of this bug. *** *** Bug 488331 has been marked as a duplicate of this bug. *** Ohh, TIL. Sorry from me too! Git commit 706257c7a57c295ca4a601f92018c4d589150b7a by Vlad Zahorodnii. Committed on 15/09/2025 at 10:39. Pushed by vladz into branch 'master'. wayland: Add support for tablet drag-and-drop M +683 -1 autotests/integration/dnd_test.cpp M +82 -0 autotests/integration/kwin_wayland_test.h M +131 -0 autotests/integration/test_helpers.cpp M +87 -0 src/input.cpp M +17 -0 src/wayland/seat.cpp M +4 -0 src/wayland/seat.h M +1 -0 src/wayland/seat_p.h M +24 -4 src/wayland/tablet_v2.cpp M +5 -1 src/wayland/tablet_v2.h https://invent.kde.org/plasma/kwin/-/commit/706257c7a57c295ca4a601f92018c4d589150b7a |