Bug 323300

Summary: Keyboard shortcuts do not respect the keymap.
Product: [Applications] digikam Reporter: Simon Brown <bugs>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.9.0

Description Simon Brown 2013-08-08 22:19:50 UTC
I use both the Programmer dvorak keyboard layout (default) and qwerty and switch between them at a global level. When trying to assign labels to a photo with the qwerty map, the Alt+(0-3) keyboard shortcuts are wrong. In fact the photos can be labelled using the dvorak keystrokes.

example: pressing Alt+2 does nothing (This is Alt+[ in prog dvorak). Pressing Alt+Shift+8 adds the pending label (This is Alt+2 in prog dvorak) 

Reproducible: Always

Steps to Reproduce:
1. login with prog dvorak keymap as default
2. find a photo in digikam that you want to label
3. switch the keymay to qwerty (to make entering numbers easier)
4. press Alt+2 to label the photo as pending
Actual Results:  
nothing has changed

Expected Results:  
photo is labelled as pending

Photo can be labelled as pending by pressing Alt+Shift+8 This is the programmer Dvorak key action.

I also use a Russian keymap at times. It looks like digikam is not getting the notification or acting when the keymap is changed. After setting the keymap to russian, the Dvorak shortcuts still work. 

Digikam freshly installed.
Comment 1 Simon Brown 2013-09-05 20:24:28 UTC
Still present in 3.3.0
Comment 2 caulier.gilles 2013-12-18 13:34:41 UTC
I don't know why dvorak keyboard doen't work as espected with digiKam, but Labels keyboard shortcuts are set internally using standard KDELibs calls :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/tags/tagsactionmngr.cpp#L190

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/tags/tagsactionmngr.cpp#L210

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/tags/tagsactionmngr.cpp#L230

... no more. Perhaps KDELibs do not support well dvorak keyboard...

Gilles Caulier
Comment 3 Justin Zobel 2022-11-29 05:06:07 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Simon Brown 2022-11-29 16:43:29 UTC
Wow, I reported this a long time ago. It's been fixed for some time.