Bug 443388

Summary: Double click on the tool on the annotation toolbar don't stay enabled
Product: [Applications] okular Reporter: Alej <alej.c.s>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alej 2021-10-06 11:02:57 UTC
SUMMARY
If double click on any tool on the annotation toolbar, the selected tool don't stay enabled.

STEPS TO REPRODUCE
1. Open Okular, open annotation toolbar
2. Double click on any tool on the annotation toolbar (e.g. pencil)
3. The selected tool can be used only once. 

OBSERVED RESULT
Double click on the tool on the annotation toolbar don't lock tool

EXPECTED RESULT
double click on the tool on the annotation toolbar will stay enabled

SOFTWARE/OS VERSIONS
lsb_release -a
No LSB modules are available.
Distributor ID: Neon
Description:    KDE neon User Edition 5.22
Release:        20.04
Codename:       focal

Okular: 21.08.1
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Laura David Hurka 2021-10-06 18:33:25 UTC
I assume you mean the annotation toolbar like the one visible here: https://invent.kde.org/websites/okular-kde-org/-/raw/fd23b5175e04452ebe9daf29711833465c075f52/static/images/screenies/okular-annotations-main.png

Since Okular 20.08 the old annotation toolbar (https://invent.kde.org/websites/okular-kde-org/-/raw/e8194614e0d08099236a0a760a6aebfc05da2226/images/screenies/okular-annotations.png, the vertical bar with 8 buttons) was replaced by the new toolbar.

The new toolbar is a “native” toolbar with QActions, which do not have support for double-click. Therefore, there is now a button that looks like a pin needle for this feature. (In the first image the right-most button.)

---

Anyway, if you think the double-click behavior is missing now, we will be happy about your feedback. :)