Bug 445897 - You can't highlight across pages
Summary: You can't highlight across pages
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-22 07:01 UTC by strangequark
Modified: 2021-11-22 10:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description strangequark 2021-11-22 07:01:59 UTC
SUMMARY
There is currently no way to highlight across pages.

STEPS TO REPRODUCE
1. Try to highlight a paragraph that is located at the end of one page and continues into the beginning of the next page 

OBSERVED RESULT
The highlight will not move on to the next page

EXPECTED RESULT
The highlight should be able to move on to the next page

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: X11

ADDITIONAL INFORMATION
none
Comment 1 Albert Astals Cid 2021-11-22 09:11:54 UTC
Yes, you can.

https://i.imgur.com/fZi30gc.png

Unless you mean doing an annotation highlight  and not text selection highlighting?
Comment 2 strangequark 2021-11-22 10:09:56 UTC
(In reply to Albert Astals Cid from comment #1)
> Yes, you can.
> 
> https://i.imgur.com/fZi30gc.png
> 
> Unless you mean doing an annotation highlight  and not text selection
> highlighting?

Sorry, yes, I meant the highlighter annotation tool.
Comment 3 Albert Astals Cid 2021-11-22 10:13:36 UTC
That's a requirement of the PDF specification, Annotations are attached to a page, so you can't create multipage annotations.
Comment 4 strangequark 2021-11-22 10:16:34 UTC
(In reply to Albert Astals Cid from comment #3)
> That's a requirement of the PDF specification, Annotations are attached to a
> page, so you can't create multipage annotations.

Perhaps the user-facing thing could create different annotations for different pages, so that it looks like it did go across pages?
Comment 5 Albert Astals Cid 2021-11-22 10:20:20 UTC
> Perhaps the user-facing thing could create different annotations for different pages, so that it looks like it did go across pages?

That's just asking for trouble. Imagine we do that, then you add a comment in that fake multipage annotation (the thing that opens when you double click). 

We could  force the same comment to both of the annotations, but then you send that file to someone else, they open it in Adobe Reader, they edit the comment of one of the annotations, send it back to you saying they have done that, and you see no change (because you're clicking on the other annotation, in your mind both annotations are the same annotation when they really are not).

So no, just create multiple annotations.
Comment 6 strangequark 2021-11-22 10:23:41 UTC
(In reply to Albert Astals Cid from comment #5)
> > Perhaps the user-facing thing could create different annotations for different pages, so that it looks like it did go across pages?
> 
> That's just asking for trouble. Imagine we do that, then you add a comment
> in that fake multipage annotation (the thing that opens when you double
> click). 
> 
> We could  force the same comment to both of the annotations, but then you
> send that file to someone else, they open it in Adobe Reader, they edit the
> comment of one of the annotations, send it back to you saying they have done
> that, and you see no change (because you're clicking on the other
> annotation, in your mind both annotations are the same annotation when they
> really are not).
> 
> So no, just create multiple annotations.

That makes sense, thank you for the explanation :)