Bug 462873 - Focus stays in Find dialogue after opening Annotation toolbar so activating an annotation tool via keyboard fails
Summary: Focus stays in Find dialogue after opening Annotation toolbar so activating a...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-11 00:26 UTC by Daniel T.
Modified: 2022-12-11 00:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screencast (2.03 MB, video/mp4)
2022-12-11 00:26 UTC, Daniel T.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel T. 2022-12-11 00:26:12 UTC
Created attachment 154488 [details]
screencast

SUMMARY
This is a very frequent work scenario: One searches for a text in a long PDF and wants to add an annotation. However, working with keyboard shortcuts here leads to this confusing situation. The focus glues to the find field when opening the Annotations toolbar and trying to activate a particular annotation tool by clicking one of the numbers 1-9 assigned to different tools. As a result one no longer finds the text pattern one searches for nor does one gets the tool activated, leading to unexpected mouse action.  

STEPS TO REPRODUCE
1. Open PDF file.
2. Ctrl+F to open Find dialogue, then enter some text.
3. Use keyboard shortcut to open the Annotations toolbar. 
4. Click 1–9 intending to select one of the Quick Annotation Tools. 

OBSERVED RESULT
1. The focus is still in the Find field so that the text '1', '9', etc. is added to the text searched, breaking the text searched for. 
2. No Annotation tool is activated.

EXPECTED RESULT
1. The focus moves from the Find dialogue to the Annotation toolbar.
2. The appropriate Annotation Tool is activated. 

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION