Bug 399787 - Feature Request: Keyboard shortcut to confirm inline note annotation
Summary: Feature Request: Keyboard shortcut to confirm inline note annotation
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.5.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-14 11:49 UTC by dimiranger
Modified: 2018-11-23 18:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The button inside the text-window of an inline-note annotation. (27.21 KB, image/png)
2018-10-14 11:49 UTC, dimiranger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dimiranger 2018-10-14 11:49:24 UTC
Created attachment 115637 [details]
The button inside the text-window of an inline-note annotation.

SUMMARY
When annotating a .pdf I like to use inline text annotations. The only problem I have with them, is that you have to move the cursor to the "OK" button inside the text-window to confirm the note and post it. I think having a configurable keyboard shortcut to confirm the note would increase productivity. One time less lifting the hands off the keyboard.

I've attached a picture of the button and the text-window I mentioned.

Thanks.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: -
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.2
Comment 1 Albert Astals Cid 2018-10-14 16:10:53 UTC
Ctrl+Enter?
Comment 2 dimiranger 2018-10-14 18:05:56 UTC
(In reply to Albert Astals Cid from comment #1)
> Ctrl+Enter?

That does not seem to work for me. But if there is a shortcut already, I'm going to assume it's an issue with my setup. I'll look into it. Thanks.
Comment 3 dimiranger 2018-10-14 18:11:43 UTC
(In reply to Albert Astals Cid from comment #1)
> Ctrl+Enter?

Or were you asking wether I think that is a good shortcut? If thats the case, then I think that is perfect.
Comment 4 Albert Astals Cid 2018-10-14 18:46:34 UTC
Are you using Plasma Destkop?
Comment 5 dimiranger 2018-10-14 19:01:00 UTC
(In reply to Albert Astals Cid from comment #4)
> Are you using Plasma Destkop?

No, I'm not using any desktop environment. I'm only using i3.
Comment 6 Albert Astals Cid 2018-10-14 22:26:17 UTC
Sorry my bad, the Ctrl+Enter support is not done by running Plasma Desktop but by running an appluication widget style that uses kstyle (for example breeze).

Can you confirm that if you use breeze as style it works?
Comment 7 dimiranger 2018-10-15 20:26:14 UTC
(In reply to Albert Astals Cid from comment #6)
> Sorry my bad, the Ctrl+Enter support is not done by running Plasma Desktop
> but by running an appluication widget style that uses kstyle (for example
> breeze).
> 
> Can you confirm that if you use breeze as style it works?

I tried installing both breeze and breeze-gtk (not at the same time) and neither changed anything in okular. The shortcut didn't work. How can I verify that breeze has an effect on okular, when I install it?
Comment 8 Albert Astals Cid 2018-11-21 22:26:04 UTC
You can see which style you're using with

cat /proc/`pidof okular`/maps | grep style

while having okular running
Comment 9 dimiranger 2018-11-23 18:43:19 UTC
I got it to work with breeze. Thanks for your help! :)
I'll mark this as resolved.