Bug 335112

Summary: Okular doesn't copy underscore character
Product: [Applications] okular Reporter: Brallan Aguilar <apcomptec>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version: 0.18.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: While copying text from PDF
When paste the text copied
PDF with the link

Description Brallan Aguilar 2014-05-21 06:43:31 UTC
When I use 'Text Selection Tool' to copy a link, when I paste it, the underscore characters are missing (changed by blank spaces).

Reproducible: Always




I have a PDF document with the link: 
http://cmosedu.com/videos/electric/electric_videos.htm 

but when I copy it and paste (for example in Kwrite), I get:
http://cmosedu.com/videos/electric/electric videos.htm
Comment 1 Brallan Aguilar 2014-05-21 06:44:33 UTC
Created attachment 86740 [details]
While copying text from PDF
Comment 2 Brallan Aguilar 2014-05-21 06:45:18 UTC
Created attachment 86741 [details]
When paste the text copied
Comment 3 Albert Astals Cid 2014-05-21 07:07:54 UTC
Please attach the file
Comment 4 Brallan Aguilar 2014-05-21 07:11:05 UTC
Created attachment 86742 [details]
PDF with the link
Comment 5 Albert Astals Cid 2014-05-21 07:14:50 UTC
Not a bug, there's no underscore in that part of text, as you can see there's no pdf viewer (Adobe Reader included) that extracts the underscore when selecting text from that part. Sadly there's not much we can do, but you should just be clicking on the link, not doing a copy&paste
Comment 6 Brallan Aguilar 2014-05-21 07:34:48 UTC
(In reply to comment #5)
> Not a bug, there's no underscore in that part of text, as you can see
> there's no pdf viewer (Adobe Reader included) that extracts the underscore
> when selecting text from that part. Sadly there's not much we can do, but
> you should just be clicking on the link, not doing a copy&paste

Ok, I understand. Er, but I can't clicking on the link (I have not this option), so I had to copy it :s
Comment 7 Albert Astals Cid 2014-05-21 07:42:17 UTC
Oh yes, i'm sorry there's no proper link in the pdf file :/

Oh well, the pdf file is basically broken, not much we can do
Comment 8 Brallan Aguilar 2014-05-21 07:46:22 UTC
(In reply to comment #7)
> Oh yes, i'm sorry there's no proper link in the pdf file :/
> 
> Oh well, the pdf file is basically broken, not much we can do

Hehe no problem. Thank you.