Bug 208857 - copying text selection to clipboard adds adjacent characters from outside selection
Summary: copying text selection to clipboard adds adjacent characters from outside sel...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 11:48 UTC by Zen
Modified: 2009-11-12 22:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
sample pdf for clipboard copying bug (361.63 KB, application/pdf)
2009-11-09 23:06 UTC, Zen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zen 2009-09-29 11:48:09 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

The two characters directly adjacent to a text selection on both sides are erroneously included in text copied to the clipboard.
Comment 1 Albert Astals Cid 2009-10-05 20:07:54 UTC
What kind of text selection are you using? word processor like or the one that lets you select a free area?
Comment 2 Zen 2009-10-11 12:32:05 UTC
The word processor style "Text Selection Tool".
Comment 3 Albert Astals Cid 2009-10-19 00:36:44 UTC
Can you attach the file with this problem?
Comment 4 Zen 2009-11-09 23:06:02 UTC
Created attachment 38216 [details]
sample pdf for clipboard copying bug

For example on the first page, in the title, try selecting "SHI" from the word Bushido. Copying and pasting the selection to Kate produces "USHID".
Comment 5 Albert Astals Cid 2009-11-12 22:57:03 UTC
SVN commit 1048200 by aacid:

Use the just created Okular::TextPage::CentralPixelTextAreaInclusionBehaviour flag when copying text selected with the text selection tool
so we include the text the user really selected
BUGS: 208857


 M  +4 -4      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1048200