Bug 458129

Summary: Right click + left click can wrongly trigger the selection mode
Product: [Applications] dolphin Reporter: Fushan Wen <qydwhotmail>
Component: Selection ModeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: felixernst, kfm-devel, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=457975
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fushan Wen 2022-08-21 06:52:37 UTC
SUMMARY
When I right click the folder view and left click elsewhere to open the context menu, the selection mode is triggered.


STEPS TO REPRODUCE
1. Right click in folder view
2. Left click to close the context menu

OBSERVED RESULT
Selection mode is on

EXPECTED RESULT
No selection mode

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-08-23 10:18:15 UTC
Can confirm.
Comment 2 Bug Janitor Service 2022-08-26 10:51:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/439
Comment 3 Felix Ernst 2022-08-27 09:40:55 UTC
Git commit 4ddc4159ed5d9fb6e7b7c6edc1b04460f87c984b by Felix Ernst.
Committed on 27/08/2022 at 09:40.
Pushed by felixernst into branch 'master'.

This commit removes the ability to enter selection mode by
click-and-holding with a pointing device like a mouse.

This functionality was originally implemented because it seemed
useful to save users the effort of entering selection mode
explicitly by using its corresponding action.

However, click-and-holding to trigger anything is not really an
expected behaviour. (This contrasts with touch devices where
press-and-holding is common to trigger something.)

Aside from the above reasoning, the click-and-hold behaviour was
also buggy so that selection mode was entered in a couple of
situations that weren't strictly about click-and-holding.

So this commit removes the functionality and the bugs.
Related: bug 457973, bug 457975

M  +0    -1    src/kitemviews/kitemlistcontroller.cpp

https://invent.kde.org/system/dolphin/commit/4ddc4159ed5d9fb6e7b7c6edc1b04460f87c984b