Bug 440405 - Add the ability to copy & paste annotations
Summary: Add the ability to copy & paste annotations
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 05:50 UTC by Jason Liam
Modified: 2021-09-05 14:09 UTC (History)
2 users (show)

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 Jason Liam 2021-07-30 05:50:10 UTC
SUMMARY



Hi i am using Okular 1.3.3 on Ubuntu 18.04. I have a feature request that i think will enhance users productivity while using Okular. Currently, when the user creates a graphical object lets say an ellipse or an underline obect then if he/she right clicks on that object then there is no "copy" option. Instead i(user) can see only three options which are "open popup note", "delete" and "properties". There should also be a copy option. After clicking on this "copy" option the user can/should be able to press Ctrl+V or "paste" and then that copied object should be pasted at that location. I am a regular user of Okular and use it very very frequently. Sometimes i create a lot of objects. And currently i have to create these object again and again, moreover the sizes of these object differ. So i have to manually change their size. Instead i want to be able to just copy and paste the object that i want. 



SOFTWARE/OS VERSIONS

Ubuntu 18.04
OS: Linux (x86_64) release 5.4.0-77-generic
Comment 1 Nate Graham 2021-07-30 14:31:03 UTC
Good idea!

Note that you're using software which is almost four years old. I would strongly recommend upgrading to Ubuntu 20.04 at the minimum, and preferably an even newer version, like 21.04
Comment 2 Laura David Hurka 2021-07-31 13:28:50 UTC
After all, this is the same as exporting annotations to an XML stream, even if to the clipboard instead of to a file, right? I suggested that in Bug 420571.

Or is this only about copying the shape of an annotation, and using that shape again for a new annotation somewhere else?
Comment 3 Albert Astals Cid 2021-07-31 22:16:23 UTC
My understanding is he wants to create N arrows and have them all be the same size, copy/paste is needed for this otherwise is impossible.

FWIW this should be really simple to do, we have a way to store annotations to xml and a way to create them from xml, so creating it's mostly the copy/paste glue code that's missing
Comment 4 Jason Liam 2021-09-04 06:25:07 UTC
Hi, has this feature been added to okular? Maybe to a new testing branch.
Comment 5 Laura David Hurka 2021-09-05 14:09:45 UTC
(In reply to Jason Liam from comment #4)
> Hi, has this feature been added to okular? Maybe to a new testing branch.

AFAIK not, no one is currently planning to implement this.

If you want, you may try it yourself, the repository is at https://invent.kde.org/graphics/okular.