Bug 469977

Summary: toolbar shortcuts doesn't get saved
Product: [Applications] okular Reporter: dani <leinaxd>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a screenshot of the bug

Description dani 2023-05-19 09:03:15 UTC
Created attachment 159093 [details]
a screenshot of the bug

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
Okular -> settings -> Configure Keyboard shortcuts
1. Assign "Show Page Bar" to "alt+2"
2. save ok
3. Assign "Annotation toolbar" to "alt+1"
4. save ok
5. Press Alt+1, works fine, annotations shows and hide
6. Press Alt+2, loooooks fine, showing and hidding the page number, buut
7. Press Alt+1 again, now annotation shortcut is gone

OBSERVED RESULT
The 'annotation toolbar' lost its shortcuts after activating the 'page bar'

EXPECTED RESULT
toggling the shortcuts hides/shows each panel

SOFTWARE/OS VERSIONS
[???]  Windows: 
[???]  macOS: 
[YES] Linux/KDE Plasma: 
(available in About System)
[YES] KDE Plasma Version: 
[???]   KDE Frameworks Version: 
[???]   Qt Version: 

ADDITIONAL INFORMATION
this bug is in there quite long time