Bug 484881

Summary: Right clicking on empty space in dolphin and scrolling creates selection box
Product: [Applications] dolphin Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, kfm-devel, pasdabonnements, razor128
Priority: NOR    
Version: 24.02.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antti Savolainen 2024-04-01 17:51:24 UTC
SUMMARY
Demonstrative video: https://youtu.be/0htfS37ZHPw
If I right click on empty space in dolphin folder view and then scroll down, dolphin creates a selection box despite me not holding down any mouse buttons. This does not happen if I right click on a folder

STEPS TO REPRODUCE
1. Open a folder that has enough files to scroll
2. Right click on empty space
3. Scroll down

OBSERVED RESULT
Dolphin creates a selection box.

EXPECTED RESULT
No selection box should appear

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Comment 1 Bug Janitor Service 2024-04-02 04:28:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/757
Comment 2 Amol Godbole 2024-04-05 02:27:46 UTC
*** Bug 484948 has been marked as a duplicate of this bug. ***
Comment 3 Felix Ernst 2024-04-05 13:59:24 UTC
Git commit 24268a4df5d4fe0a856d17ca878d793527a1188e by Felix Ernst, on behalf of Amol Godbole.
Committed on 05/04/2024 at 13:47.
Pushed by felixernst into branch 'master'.

KItemListController: don't create rubber band for a right click in an empty region

Rubber band was being incorrectly created for a right click in an empty region.
Handle this case in KItemListController::onPress().

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

https://invent.kde.org/system/dolphin/-/commit/24268a4df5d4fe0a856d17ca878d793527a1188e
Comment 4 Amol Godbole 2024-05-28 18:14:38 UTC
*** Bug 487113 has been marked as a duplicate of this bug. ***