Add a popup-note annotation to any pdf file. When the annotation is open, the opened annotation window will not scroll along with the document. This happens with okular & poppler from today's git master on Debian testing. While I am not 100% sure that the described behavior is a bug, it can nevertheless get you into trouble: You can move the open annotation by holding the left mouse button when the mouse is over the annotation title bar. In particular, you can move it upward until it disappears under the Okular menu bar. Once you are there the annotation is stuck: you cannot move it with the mouse because the annotation title bar is hidden. And since it doesn't react to scrolling either I have not found a way to select/move/close/delete such an annotation.
I don't think i can reproduce this (or i don't understand what you mean). Can anyone else try? Or can you try to attach a video of it?
I uploaded a video to https://cloudstore.zih.tu-dresden.de/index.php/s/5n3fBRLuPlbdUr5
Not scrolling is fine, as far as i see it, they live in their own layer. The problem is that you can drag them outside of the view and then there's no way to drag them back in because the draggable part is not in the viewport anymore
Should be the patch related to avoid dragging of the annotation window outside of the viewport?
I guess. On the other hand I kind of expect them to scroll with the document anyway. What if I want to open several of them and scroll back and forth between them? Currently that would totally clutter my viewport.
Should the annotation window allow to be dragged outside of the viewport by using the mouse left button unless it is the border of the pdf view? I have almost got the idea and I want to work on this feature request if no other one is working on it.
(In reply to Oliver Sander from comment #5) > I guess. > > On the other hand I kind of expect them to scroll with the document anyway. > What if I want to open several of them and scroll back and forth between > them? Currently that would totally clutter my viewport. Is that an actual use case? Or just a "i thought about this and it seems nice but i really never have more than 1 or 2 annotations open"
I use this feature and would appreciated the requested behavior. Here's my use case: You use pop-up note annotations to write notes for yourself and others throughout the document. Because they don't scroll, your screen will fill up with overlapping annotations unless you close them as soon as you create them. But then as you scroll through the document, you'll have to repeatedly click on the annotations to open them as they scroll into view, is a pain and offers poor usability. If open notes scrolled with the rest of the documents as requested here, then you won't need to repeatedly close and open annotations, and can keep them all open and be able to read them as they come into view, and then stop looking at them once you scroll away from the page they're on.
I rarely get heavily annotated documents, but what Nate describes seems like a very plausible workflow to me. Regarding Dileep's question in Comment 6: I think annotations should not be allowed to be dragged outside of the viewport, even if they do scroll along with the document. Rationale: I could probably still get them stuck, for example by scrolling to the top of the document, and moving the annotation upwards until it is outside of the viewport.