Bug 390293

Summary: Improve display of stacked annotations of same color to show which one is on top
Product: [Applications] okular Reporter: Ryan Kozlowski <rykozlo>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REOPENED ---    
Severity: major CC: nate, null, simonandric5, yx-xx-xy
Priority: NOR    
Version: 1.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ryan Kozlowski 2018-02-11 21:20:45 UTC
Sticky notes saved on Okular sometimes work and other times do not when I try to open the pdf in another viewer (Document Viewer in Linux, also have tried PDFMod from the linux software store). Some sticky's keep the text, others are just blank sticky's, and I can't see a systematic reason some work and others don't.
Comment 1 null 2018-02-13 21:10:52 UTC
Okular versions before 1.3 (KDE Applications 17.12) have a slight twist wrt. to saving: If you just close the PDF after changing an annotation, the changes will only be visible in Okular. To be able to see those changes in other viewers, you have to use "Save As". (Starting with version 1.3, Okular only supports "Save" like a normal text editor and loses the confusing internal auto-saving.)

Please test whether either by always using "Save As" or by just upgrading to Okular 1.3 your problems go away. If not, I'm afraid you'd have to provide more detailed steps to reproduce and perhaps upload some example documents.
Comment 2 Ryan Kozlowski 2018-02-13 22:46:41 UTC
Ok. I was saving with "Save As". The issue is that some of my sticky notes were overlapping highlighted text, and double-clicking on the sticky notes was apparently understood as double-clicking on the highlighted text instead, for which I left no notes. When I moved the stickies, problem was resolved.
Comment 3 Nate Graham 2018-02-13 23:07:07 UTC
Thanks for confirming!
Comment 4 null 2018-02-13 23:20:02 UTC
Well, the confusion is cleared up, but I'm pretty sure other users might run into this too. It's a usability problem:

On double-clicking, Okular will open the top-most annotation (which is fine). However, if you put a popup note (defaulting to yellow) on top of a text hightlight annotation (defaulting to yellow) or the other way round, you cannot really see which one is on top.

I would suggest two possible solutions:
- Change colour of popup-note slightly.
- Add outline with different colour to popup note, so in case you highlight over it you will see that the popup note is below and cannot react to clicks (← my preferred solution).
Comment 5 null 2018-02-13 23:23:10 UTC
Another idea: Add outline on mouse hover, so the differing shapes make it clear which item is meant.
Comment 6 Fohristi-whirl Skaffen-Amtiskaw Handrahen Dran Easpyou 2021-02-16 12:08:12 UTC
I think I have a similar problem. During a review process I got a document back with new pop-up notes (I'm not sure which program was used for them) that were placed on top of older pop-up notes. The old pop-up note was done with Okular and appears in bright yellow, the new pop-up note is on top in a more orange-yellow colour. The problem is that Okular cannot show or open the new pop-up note. I can move the older pop-up note away, but cannot click/open the new one. There is something written in the new pop-up note, as I can access it through another pdf-reader. Unfortunately I cannot provide the pdf. Sorry if this the wrong place.