Bug 359242 - Newline is added to a copied header
Summary: Newline is added to a copied header
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.23.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: http://www.mathematics21.org/binaries...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-10 18:02 UTC by Victor Porton
Modified: 2020-11-09 03:36 UTC (History)
3 users (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 Victor Porton 2016-02-10 18:02:51 UTC
In Okular 0.23.2 when I copy (using Text Selection Tool) a chapter header, newline is added to the copied header at the end.

This extraneous newline is annoying and is misinterpreted by some other software when I Paste.

Please make not to add newline at the end of copied header.

Example PDF document with this "feature":
http://www.mathematics21.org/binaries/volume-1.pdf

Reproducible: Always
Comment 1 Jonathan Verner 2016-02-11 09:00:21 UTC
Vaguely reminds me of Bug #208857, but that one was fixed...; 
Note that for me a newline is added whenever I select a word at the end of a line.
I thought I saw a similar bug (different from #208857) reported earlier, but now 
I can't seem to find it.

Podofo version 0.24.5
Okular version 0.20.3
Comment 2 Justin Zobel 2020-11-08 10:52:11 UTC
Thanks for the report Victor.

I was going to test this but the link in your first post is now dead. Are you able to provide another PDF where this occurs?

Is this issue still occurring for you on any other PDF?
Comment 3 Yuri Chornoivan 2020-11-08 11:09:50 UTC
(In reply to Justin Zobel from comment #2)
> Thanks for the report Victor.
> 
> I was going to test this but the link in your first post is now dead. Are
> you able to provide another PDF where this occurs?
> 
> Is this issue still occurring for you on any other PDF?

https://math.portonvictor.org/binaries/volume-1.pdf
Comment 4 Victor Porton 2020-11-08 11:29:19 UTC
First the link isn't and wasn't dead.

Second, it is so for all PDFs at least ones generated by LaTeX.
Comment 5 Justin Zobel 2020-11-09 03:36:52 UTC
I get a 404 when trying to open the first link but your second works.

Issue confirmed on Okular from git master.