Bug 472211

Summary: Feature Request: please add a way to change the Z-order of annotations
Product: [Applications] okular Reporter: Joe Breuer <kde>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 23.04.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joe Breuer 2023-07-13 09:28:27 UTC
SUMMARY

(PDF) Annotations seem to be added to the document in a fixed "new on top" Z-order. There are no move higher/lower/bring to front/send to back editing tools (that I could find).

STEPS TO REPRODUCE
1. Add a PDF annotation, e.g. a large-ish inline note
2. Add another PDF annotation, e.g. another large-ish inline note, that overlaps the other one
3. Observe that 

OBSERVED RESULT

The annotation added second stays on top of the one added first for good, no way to change this.

EXPECTED RESULT

A way to re-order the z stack of annotations to e.g. make text in partially overlapping notes fully readable (without requiring to click-through to the annotation content or such). I'm sure there's a few other use cases.

The only remaining way to change the ordering, deleting a lower annotation and re-creating it on top, is effortful. Especially since there's no cut/copy/paste of annotation elements, either.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux 2.13, Kernel 6.1.38-gentoo (64-bit)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9