Bug 482546 - Trackpoint middle mouse button pastes even after scrolling.
Summary: Trackpoint middle mouse button pastes even after scrolling.
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-06 15:21 UTC by Tom Sutherland
Modified: 2024-03-08 01:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Sutherland 2024-03-06 15:21:26 UTC
expected behavior:
middle mouse button should paste EXCEPT after scrolling.

problem behavior:
middle mouse button pastes even after scrolling up/down.

This happens in at least Chrome, Kate, and Konsole. 

Interestingly, it seems to work correctly immediately after a new logon, then the behavior starts shortly after.

It happens in X and Wayland.
Comment 1 Tom Sutherland 2024-03-06 15:25:48 UTC
also note that the paste happens when the middle-button is released - so for instance,  I press and hold the middle mouse button to scroll through konsole history - when I release the middle mouse button the buffer is pasted, and it brings me back down to the shell prompt.
Comment 2 Nate Graham 2024-03-06 19:52:24 UTC
On X11, all input goes through libinput and the X server, so KDE code is not involved. On Wayland it goes through libinput and KWin. While it's possible that both the X server and KWin have the exact same bug, it's more likely that the bug is in the source of commonality: libinput. So I would recommend that you report this to the libinput folks at https://gitlab.freedesktop.org/libinput/libinput/-/issues/. Thanks!
Comment 3 Tom Sutherland 2024-03-06 20:49:37 UTC
Thank you - libinput guys had a bug with same symptoms, but much better problem description:

https://gitlab.freedesktop.org/libinput/libinput/-/issues/964

This lead to a kernel firmware bug, which should be making it's way to kde neon eventually:

https://lore.kernel.org/all/20231223191401.70727-1-me@khvoinitsky.org/T/
Comment 4 Nate Graham 2024-03-08 01:58:50 UTC
Fabulous!