Bug 469295 - Stuck or involuntary mouse drag events when Pointer Threshold is Close or Equal to Drag Start Distance with Logitech MX518 and other mouses
Summary: Stuck or involuntary mouse drag events when Pointer Threshold is Close or Equ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: libinput (other bugs)
Version First Reported In: 5.23.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-03 03:34 UTC by LTHR
Modified: 2023-05-03 04:33 UTC (History)
0 users

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 LTHR 2023-05-03 03:34:02 UTC
SUMMARY
You can mostly see this bug happening while clicking in Chromium browser or other browsers, sometimes which seems random at first, when you click on an image or a menu on a web page it's displayed like it's going to be dragged although you released mouse left button and you can move that stuck in drag position block or image up or down without holding any mouse buttons, like you're actually dragging it. 

It happens with both libinput driver and mouse-evdev driver and in case of libinput you don't have a reliable workaround yet switching o mouse-evdev to provides you an opportunity to apply a workaround I found trying to fight with that bug described below. To work around this problem set:  

Pointer acceleration : 2.1
Pointer threshold : 1 pixel
Drag Start Distance : 4 pixels

To make this bug happening often you would have to set:

Pointer acceleration : 2.1
Pointer threshold : 4 pixel
Drag Start Distance : 4 pixels

it happens with me with Logitech MX518 and it's a new issue which I first started seeing with Neon.

Basically what happens here is that when Pointer threshold is equal to Drag Start Distance and you click on the mouse it's often that
the mouse physically slides slightly at the moment the left mouse button is clicked and when this happens and Pointer Threshold is equal to Drag Start Distance (which is default for libinput as it seems) - the block the mouse is clicked on gets stuck quite often in Drag position involuntarily which is very annoying. 

The same issue is described here: 
https://forum.manjaro.org/t/drag-start-mouse-settings-dont-seem-to-do-anything/117793/3

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.4.80-gentoo-r1-x86_64 #1 SMP PREEMPT
(available in About System)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Mouse: Logitech MX518 (checked two of them, same bug with both)
Comment 1 Bug Janitor Service 2023-05-03 04:33:49 UTC
Thank you for the bug report!

However Plasma 5.23.2 is no longer eligible for support or maintenance from KDE; supported versions are 5.27, and 5.27 or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.23.2, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.