Bug 452103 - Custom keyboard shortcut definitions not persistent
Summary: Custom keyboard shortcut definitions not persistent
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 7.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-31 09:47 UTC by frizzo
Modified: 2022-04-01 09:10 UTC (History)
2 users (show)

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


Attachments
screenshot of KB shortcuts *after* digikam restart. Note the active scheme is LT Photo! (44.28 KB, image/jpeg)
2022-03-31 09:47 UTC, frizzo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frizzo 2022-03-31 09:47:43 UTC
Created attachment 147856 [details]
screenshot of KB shortcuts *after* digikam restart. Note the active scheme is LT Photo!

SUMMARY
***
Custom keyboard shortcut definitions (aka schemas) are not persistent between sessions.
On digikamp start all KB shortcuts are initially undefined and need to be manually loaded by "refreshing" the schema selection.

I am assuming persistent KB shortcut definitions is the desired behavior. So I submit this report.

STEPS TO REPRODUCE
Part 1 - Create a custom KB scheme from Defaults
1. Settings - Configure KB Shortcuts - manage schemes
2. Default scheme: more actions - export scheme
3. more actions - new scheme named e.g. LT Photo (creates an empty scheme)
4. more actions - import scheme
5. define / change a shotrcut: e.g. Edit geeolocation with ctrl Y
6. LT Photo scheme: more actions - export scheme (just to be pro-active :-)

Part 2 - close digikam / start digikam

OBSERVED RESULT
All KB shortcut definitions are lost. E.g. F3 for preview in thumbnail view.

EXPECTED RESULT
KB shortcuts from previous session are available

SOFTWARE/OS VERSIONS
Windows: w10 Pro 19043.1586

ADDITIONAL INFORMATION
To recover KB shortcuts:
Settings - Configure KB Shotrcuts - manage schemes
Observe that the active scheme is LT Photo but all definitions are gone!
Click on current scheme LT Photo
(modified) shortcuts are correctly loaded.

I have saved the exported KB schemes not in the default digikamp/bin but elsewhere. Maybe this is significant.

And BTW: Thanks for an awesome application!

FRizzo
Comment 1 Maik Qualmann 2022-03-31 18:47:34 UTC
This keyboard shortcuts editor comes from the KF5 Framework and we can't change anything about it in principle. If you create your own scheme, you have to select the option "Save shortcuts in scheme" under "More Actions". Then self-created shemas will work the next time you start it.

Maik
Comment 2 frizzo 2022-04-01 08:06:03 UTC
(In reply to Maik Qualmann from comment #1)
> This keyboard shortcuts editor comes from the KF5 Framework and we can't
> change anything about it in principle. If you create your own scheme, you
> have to select the option "Save shortcuts in scheme" under "More Actions".
> Then self-created shemas will work the next time you start it.
> 
> Maik

Thanks for your response and solution! It works exactly as you described above!
FRizzo