Bug 346877 - Cannot assign arrow keys as keyboard shortcut
Summary: Cannot assign arrow keys as keyboard shortcut
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 4.9.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 00:36 UTC by Ruman Gerst
Modified: 2017-08-02 17:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruman Gerst 2015-04-29 00:36:27 UTC
In old Digikam versions I was able to set "Arrow left" and "Arrow right" as hotkeys for "Next Image" and "Previous Image".
After an update some time ago Digikam only says that this key is ambiguous if I press "Arrow right" and also I should solve the problems using the hotkey configuration dialog.

But "Arrow right" is not in the configuration dialog (seems to be hardcoded?) 

Reproducible: Always

Steps to Reproduce:
1. Configure "Arrow right" as main or alternative hotkey for "Next picture"
2. Go to "Preview Image" mode
3. Press "Arrow right" 2x


Actual Results:  
A dialog appears saying that this hotkey is ambiguous 

Expected Results:  
Should switch to the next image

The dialog should provide more information about the conflict. Users should not have to search the conflict - the program already knows them!
Comment 1 caulier.gilles 2015-04-29 05:20:59 UTC
It's probably in conflict with another keyboard shortcuts from KDE desktop.

Don't forget that keyboard shortcut config dialog is provided by KDE. We use it as well. All keyboard shortcuts are checked to see if conflicts are discovered.

A keyboard shortcut can be global (ex. Amarok), not especialy active when an application is started.

Gilles Caulier
Comment 2 caulier.gilles 2015-05-16 14:16:30 UTC
Ruman, 

Did you check your global shortcuts settings, especially to see if another application have already assigned a shortcuts to arrow keys ?

Gilles Caulier
Comment 3 Ruman Gerst 2015-05-17 09:55:31 UTC
Aha! I found the solution:

"Arrow left" and "Arrow right" are already usable as "Next image" and "Previous image" without adding a shortcut. It seems that this particular function got broken somehow and I tried to "reassign" it again, which seems not possible, because the application should already behave like that.

I don't know if it's hardcoded somewhere or it's intended that you can go through pictures using arrow keys even without configuring it (And why it suddenly disappeared)

Works for me for now ...