Bug 491507 - 'Back' and 'Forward' mouse buttons make Dolphin open the item when an item is hovered while using "Selects Item" on "Clicking files or folders" option.
Summary: 'Back' and 'Forward' mouse buttons make Dolphin open the item when an item is...
Status: RESOLVED DUPLICATE of bug 485295
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.05.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 03:27 UTC by Brandow
Modified: 2024-10-17 16:05 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandow 2024-08-10 03:27:34 UTC
SUMMARY

When pressing 'Back' and 'Forward' (MOUSE4/MOUSE5) mouse buttons sometimes make Dolphin open the folder/file when an item is hovered while using "Selects Item" mode on "Clicking files or folders" option. It is also reproducible on KDE XDG-DESKTOP-PORTAL dolphin window.

Similar bug found: https://bugs.kde.org/show_bug.cgi?id=310288

STEPS TO REPRODUCE
1. Open Dolphin
2. Go into subfolders
3. Hover over some other folder/file
4. Try pressing forward/back buttons on mouse in a relative fast pace

OBSERVED RESULT
It opens the select item

EXPECTED RESULT
Go back/forward in history


SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Graphics Platform: X11

ADDITIONAL INFORMATION
By the way I don't know if I should report this on this same bug page, but pressing BACK/FORWARD buttons in a fast pace doesn't actually go instantly, it has a little delay between which is very annoying.
Comment 1 Rico M. 2024-10-16 12:40:51 UTC
I experience the same issue as Brandow described it.

=== STEPS TO REPRODUCE
1. Open Dolphin
2. Hover over a folder
3. Double-click MOUSE4 or MOUSE5

=== OBSERVED RESULT
It opens the select item.

=== EXPECTED RESULT
Nothing happens as there is no previous folder.

=== SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 2 Rico M. 2024-10-17 16:00:23 UTC
> When pressing 'Back' and 'Forward' (MOUSE4/MOUSE5) mouse buttons sometimes make Dolphin open the folder/file when an item is hovered
This is fixed with https://invent.kde.org/system/dolphin/-/commit/131c889b0c050592809035242db6200482e0edde
This bug report is a duplicate of https://bugs.kde.org/show_bug.cgi?id=485295 for this part. Since this is the main reason for opening this bug report I've set this one as the duplicate.

> but pressing BACK/FORWARD buttons in a fast pace doesn't actually go instantly, it has a little delay between which is very annoying.
This is fixed with https://invent.kde.org/system/dolphin/-/commit/819960aed450d9aa40fd42dc42ad7119c88a4802
This bug report is a duplicate of https://bugs.kde.org/show_bug.cgi?id=485295 for this part.

I wanted to fix the second one myself and after fixing it on master a few hours ago I found out that there was already a fix for it but it wasn't yet... At least I came up with the same solution.

Also I looked for existing bug reports before but didn't find any until I found the commits that fix the issue.

*** This bug has been marked as a duplicate of bug 485295 ***
Comment 3 Rico M. 2024-10-17 16:05:05 UTC
Didn't notice that both commits refer to the same bug report...