Bug 473754 - Okular comment tool acting weird
Summary: Okular comment tool acting weird
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-25 17:02 UTC by Tommi Nieminen
Modified: 2023-08-25 17:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommi Nieminen 2023-08-25 17:02:19 UTC
SUMMARY
In late versions it seems to have become increasingly difficult to add a popup comment. After making, say, a yellow highlight, the only way to actually open up the popup to type its content seems to be using the sidepane’s Annotations tab. Double-clicking the highlight only selects text (thus changing the tool on mid-fly), and the empty highlight doesn’t have a context menu.

Also, at least on Finnish keyboard, AltGr+- (which inserts an en dash) makes the popup to lose focus. The only Okular shortcut with “-” (dash) I can find is Ctrl+- (zoom out) which works normally. Okular is also the only program that seems to have difficulties with this key combination. 


STEPS TO REPRODUCE
1. Open a PDF
2. Choose the ”yellow highlighter”
3. Mark text and try adding the comment.

OBSERVED RESULT
There seems to be no way any more to open up the comment popup. 

EXPECTED RESULT
In old versions, one could double-click the marked text. Admittedly this often resulted in adding another highlight (or even several) above the original one if the mouse moved even the slightest amount, but at least it worked some of the time. Now the only way seems to use the Annotations tab in the sidepane which takes an extra step.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12 (bookworm) 
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version:  5.15.8

ADDITIONAL INFORMATION