Bug 346877

Summary: Cannot assign arrow keys as keyboard shortcut
Product: [Applications] digikam Reporter: Ruman Gerst <mrboese>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0

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 ...