Bug 443388 - Double click on the tool on the annotation toolbar don't stay enabled
Summary: Double click on the tool on the annotation toolbar don't stay enabled
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 11:02 UTC by Alej
Modified: 2021-10-06 18:33 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 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. :)