Bug 458129 - Right click + left click can wrongly trigger the selection mode
Summary: Right click + left click can wrongly trigger the selection mode
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: Selection Mode (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-21 06:52 UTC by Fushan Wen
Modified: 2022-08-27 09:40 UTC (History)
3 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 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