Bug 471890

Summary: Create new annotation still shows "F6" as shortcut event when changed
Product: [Applications] okular Reporter: esperluette08
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description esperluette08 2023-07-03 03:14:45 UTC
SUMMARY
When changing the shortcut for creating a new annotation (from "F6" by default), the message in the "Annoations" tab in the left panel is not updated


STEPS TO REPRODUCE
1. Open a file in Okular
2. Select "Annotations" tab in left panel 
3. Change shortcut to create a new annotation ("Settings" > "Configure Keyboard Shortcuts..." > "Okular -> Annotation") to, for this example, "F4"
4. (Optional) Quit and re-open Okular

OBSERVED RESULT
The message still shows "No annotation - To create new annotations press *F6* or select Tools -> Annotations from the menu."

EXPECTED RESULT
The message should be "No annotation - To create new annotations press *F4* or select Tools -> Annotations from the menu."

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Live (20230504-0714)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics: X11 on Neon
Okular Version: 23.04.0