Bug 496524 - Selection doesn't stop by triggering right button (menu > copy)
Summary: Selection doesn't stop by triggering right button (menu > copy)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.3
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-21 03:40 UTC by lybkexskmguugovejv
Modified: 2025-02-26 12:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lybkexskmguugovejv 2024-11-21 03:40:01 UTC
SUMMARY

If I select text by holding the mouse button (in browser too)  or files (in dolphin too), and before releasing the mouse1 I click with the mouse2, kde creates a bug that the mouse1 holding keeps pressed and the selection keeps executing. I don't know if anyone would want, specially by default, this to happen. 
Because if I click with mouse2, already holding mouse1, it means I already want to right-click to copy the text not keep selecting.

STEPS TO REPRODUCE
1. Hold left-button mouse1 and select text/files/etc.
2. Without releasing mouse1 right-click to show menu.
3. The graphic of keep executing mouse1 doesn't stop.

OBSERVED RESULT
Initially I thought it would keep the moment I right-clicked, but, it actually copies the content of the last selection.

EXPECTED RESULT
When mouse2 is clicked, it would freeze the mouse1 to keep selecting.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora (I believe it happens to all)
KDE Plasma Version: 6.2 (I believe it happens to all)
KDE Frameworks Version: 6.8
Qt Version: 6.8
Comment 1 Nate Graham 2024-11-21 16:51:43 UTC
Cannot reproduce at all in either Firefox or Kate, both on Fedora 41 KDE. Can you attach a screen recording that shows it happening? Thanks!
Comment 2 Bug Janitor Service 2024-12-06 03:46:29 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 lybkexskmguugovejv 2024-12-15 04:00:27 UTC
This is the case in any distro for years. Tested on Fedora, Opensuse...
Simply select text, without releasing the left button, click the right (without releasing the left) moves the mouse around.
Comment 4 David Edmundson 2025-01-03 11:00:37 UTC
I can reproduce what you are describing in firefox, but not gedit or kate or dolphin.

In any case this would be a client issue, please report there.
Comment 5 lybkexskmguugovejv 2025-02-26 12:31:13 UTC
ui.context_menus.after_mouseup > true

Apparently this is the solution. Still, I didn't like this forum complete unhelpability, with a grain of disdain for someone trying to fill here the improvement of your software.