Bug 469549

Summary: digiKam doesn't save keyboard shortcuts
Product: [Applications] digikam Reporter: Bravo Baavo <b4yf823ap56y457945ty4w7o>
Component: Setup-MiscAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:

Description Bravo Baavo 2023-05-09 19:52:22 UTC
SUMMARY
***
I'm using a MySQL database with Digikam.
Since updating to 8.0, Digikam resets my configured keyboard shortcuts after each restart.
Specifically I configure some keys to apply a rating of 0 - 5.

There is no console output to add when I apply a new shortcut, even with `QT_LOGGING_RULES="digikam*=true"` set.

***

STEPS TO REPRODUCE
1. Configure a MySQL database with Digikam.
2. Try to set a shortcut
3. Restart Digikam

OBSERVED RESULT
The shortcut is now unset.

EXPECTED RESULT
The shortcut should stay configured.

SOFTWARE/OS VERSIONS
Ubuntu: Ubuntu 22.04.2 LTS
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.7 (built against 5.15.7)

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-05-09 20:07:34 UTC
The database has no influence on it. Are you using the AppImage?

Maik
Comment 2 Bravo Baavo 2023-05-09 20:15:02 UTC
(In reply to Maik Qualmann from comment #1)
> The database has no influence on it. Are you using the AppImage?
> 
> Maik

Yes using the appimage, although it worked in 7.0 I was using the appimage then as well.
Comment 3 Maik Qualmann 2023-05-11 19:37:43 UTC
Git commit f5d4666491dc0ca1fd5a728e37f2a0dc20667eec by Maik Qualmann.
Committed on 11/05/2023 at 19:36.
Pushed by mqualmann into branch 'master'.

fix initialized order of the action collection
Related: bug 468927, bug 469620
FIXED-IN: 8.1.0

M  +2    -2    NEWS
M  +1    -1    core/app/main/digikamapp.cpp

https://invent.kde.org/graphics/digikam/commit/f5d4666491dc0ca1fd5a728e37f2a0dc20667eec