Bug 495933 - Double clicking on another file while the context menu is open does not select, but still opens that file
Summary: Double clicking on another file while the context menu is open does not selec...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 24.08.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-07 18:14 UTC by jakubg1.100
Modified: 2024-11-12 16:10 UTC (History)
3 users (show)

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


Attachments
Recording of the bug (2.77 MB, video/mp4)
2024-11-07 18:14 UTC, jakubg1.100
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jakubg1.100 2024-11-07 18:14:27 UTC
Created attachment 175627 [details]
Recording of the bug

SUMMARY
Whenever I right-click a file to see its context menu, and then I double click to select another file, the file opens instead of just being selected like shown in the video. This happens in any view mode, both with files and folders.

STEPS TO REPRODUCE
1. Open a folder with at least two files inside.
2. Right click one of the files/folders to open its context menu ("file 1").
3. Double click another entry on the file list ("file 2").

OBSERVED RESULT
The context menu disappears, and the file 2 is opened despite not even being selected in the first place.

EXPECTED RESULT
The first click should close the context menu, and the second click should select the file 2 without opening it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40, kernel 6.10.12-200.fc40.x86_64 (64-bit)
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Comment 1 jakubg1.100 2024-11-07 18:16:57 UTC
It seems like I cannot edit my report. I just wanted to add that in the video three attempts have been made. The second attempt was purposefully slower so that both clicks would not register as a double click, and shows the expected result.
Comment 2 TraceyC 2024-11-08 02:08:50 UTC
I can confirm this behavior on Dolphin built from git-master

I would expect that if it was intentional to open file 2 with a double click with the right-click menu open on file1, then file2 would be highlighted. In other words, the behavior would be the same as when file2 gets two single clicks.
Comment 3 Akseli Lahtinen 2024-11-12 16:10:12 UTC
Can also confirm. I think it opens if you click it really fast even when the context menu is open. If I do more deliberate slower clicks, it gets selected.