Bug 181531

Summary: Back shortcut not mapped to back key on keyboard
Product: [Applications] dolphin Reporter: Michael Stather <kontakt>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: dlrobin874, infroma, kde-2011.08, kontakt, m.wege, markg85
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Stather 2009-01-21 22:25:07 UTC
Version:           1.1.80 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-gentoo-r1

When using a keyboard equipped with back/forward keys, the forward action works out of the box with dolphin as it's configured to "Alt-Right" and "Forward". But the back action is "Alt-Left" and "Backspace". Can there also be more than 2 keys for an action? IMHO the "back" key should be mapped there too.
Comment 1 Peter Penz 2009-01-22 08:08:19 UTC
Only 2 shortcuts can be applied per action, please just configure Dolphin the way you need it :-) Thanks!
Comment 2 Michael Stather 2009-01-22 20:18:58 UTC
Ups, this should be on wishlist, not a bug ;)

I'm just saw this during testing, and I thought this was important because this is a "hardware feature" on most notebooks and keyboards which works basically with KDE but isn't configured. And for new users it would be very nice if both the navigation keys on keyboard and mouse worked out-of-the-box if available. Just look at firefox on linux ;)

Could this then be made a wishlist item?
Comment 3 Peter Penz 2009-01-24 07:46:30 UTC
> Could this then be made a wishlist item? 

I've changed it to wishlist :-)
Comment 4 Dotan Cohen 2009-05-23 19:29:43 UTC
@Peter:
Although as you mention only two shortcuts can be applied per action, this is not an action that the user should have to configure. As a hardware function-specific key, the back button should "just work" in the same sense that the multimedia keys "just work". Please reconsider. Thanks.
Comment 5 Dan Robinson 2010-05-09 03:49:20 UTC
I'm running KDE 4.4.3 on Debian. I can confirm that the back key is not configured in Dolphin by default. However, it is mapped correctly in the global key shortcut module in System Settings. Is there a reason that Dolphin isn't just using those shortcuts?
Comment 6 Mark 2012-04-30 14:40:38 UTC
This should just be possible..
http://qt-project.org/doc/qt-4.8/qaction.html#setShortcuts

You can set multiple shortcuts for a QAction.
If it's not working for KAction then http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/kaction_8cpp_source.html#l00217 is doing something strange.
Comment 7 Mark 2012-04-30 14:58:58 UTC
*** Bug 198630 has been marked as a duplicate of this bug. ***
Comment 8 Mark 2012-04-30 15:09:22 UTC
(In reply to comment #6)
> This should just be possible..
> http://qt-project.org/doc/qt-4.8/qaction.html#setShortcuts
> 
> You can set multiple shortcuts for a QAction.
> If it's not working for KAction then
> http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/kaction_8cpp_source.
> html#l00217 is doing something strange.

Correcting myself. It's going to: http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/kaction_8cpp_source.html#l00201
Which is going to QAction::setShortcuts.

I just tested this and it seems to be working just fine.
Comment 9 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:18:29 UTC
Resetting assignee to default as per bug #305719
Comment 10 Roman Inflianskas 2018-03-15 07:19:10 UTC
It seems that this issue has been fixed: now (I use KDE from the master branch of git) I can use both back and forward keys on my mouse to navigate through the history.

Feel free to comment on this if you think that this bug was closed prematurely.