Bug 489726 - Double clicking back button on mouse triggers open action on second click
Summary: Double clicking back button on mouse triggers open action on second click
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 24.05.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-04 10:06 UTC by Florian Nücke
Modified: 2024-10-29 14:08 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Nücke 2024-07-04 10:06:22 UTC
SUMMARY
When using the back button on the mouse to navigate back, double-clicking this button to quickly navigate back, the second click is instead treated the same as a regular left mouse button double-click, triggering an open action.  As such: first click navigates one back, second click "activates" whatever is under the cursor.  So when over a folder, descends into the folder, when over a file, opens the file.

STEPS TO REPRODUCE
1. Open dolphin, go to e.g. home directory.
2. Create an empty directory, let's call it "A".
3. Enter directory "A".
4. Create an empty directory, let's call it "B", in "A".
5. Hover the cursor over "B".
6. Enter directory "B" (double click), do *not* move the cursor.
7. Double click the mouse back button.

OBSERVED RESULT
Back in directory "B".

EXPECTED RESULT
In directory containing "A".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Stable (Kernel 6.9.5-1-MANJARO 64-bit)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
To test with files, follow the repro steps but create an additional file in "A", hover that file, enter "B" (e.g. using keyboard, or remember where to place the cursor so it's over the file), then do the double-back-click.
Comment 1 Sean Baggaley 2024-10-18 11:50:15 UTC
Heh, this was annoying me for a while and I just got around to looking into it myself, to find someone beat me to it by a few days: https://invent.kde.org/system/dolphin/-/commit/819960aed450d9aa40fd42dc42ad7119c88a4802
The commit lists a different ticket but I built it myself and it fixes the issue described here.
Comment 2 Felix Ernst 2024-10-29 14:01:51 UTC
(In reply to Sean Baggaley from comment #1)
> Heh, this was annoying me for a while and I just got around to looking into
> it myself, to find someone beat me to it by a few days:
> https://invent.kde.org/system/dolphin/-/commit/
> 819960aed450d9aa40fd42dc42ad7119c88a4802
> The commit lists a different ticket but I built it myself and it fixes the
> issue described here.

I also think that that commit fixed this bug report. I'll mark this as fixed.
Comment 3 Florian Nücke 2024-10-29 14:08:32 UTC
Sorry, missed the notification on the first comment, that does sound like it would fix it indeed, thanks!