Bug 452670

Summary: Annotation shortcuts stop working after using PoP-up note
Product: [Applications] okular Reporter: kde.xg0ws
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: minor CC: aacid
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde.xg0ws 2022-04-16 09:52:12 UTC
SUMMARY
***
When working with Okular annotations, I can select different tools by pressing "1", "2", etc. However, when using a PoP-up note, these keyboard shortcuts are not working anymore. I have to click on the annotation toolbar, to get the shortcuts working again.
***


STEPS TO REPRODUCE
1. Make a pop-up note, write something in it and exit it.
2. Press 1, 2, etc. to change the annotation settings

OBSERVED RESULT
The shortcuts for annotation settings are not working.

EXPECTED RESULT
Pressing 1, 2, etc. should switch the annotation settings


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Wayland
Comment 1 Albert Astals Cid 2022-04-18 22:50:09 UTC
The keyboard focus gets lost when the popup note closes, it's not only annotations shortcuts but also the up/down keys for scrolling that don't work either for example