Summary: | Text Selection in Okular doesn't grab whitespaces in the beginning and in the end of lines. | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | dreamndi <shostak93> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=340637 https://bugs.kde.org/show_bug.cgi?id=207748 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | okular-whitespace-bug |
Seems like it's a normal behavior for pdf, when I create a pdf with text, I split text after a whitespace and put it into a pdf file. After saving that space is replaced with paragraph symbol. Okay, I think It is not a okular bug. Thanks. This is the text entity reordering problem. Okular just takes an unordered set of visible characters with position, and then arranges them to a string as it feels appropriate. Space characters are indeed lost in this process. |
Created attachment 140016 [details] okular-whitespace-bug SUMMARY When I use Text Selection, it doesn't select spaces in the beginning and in the end of lines. STEPS TO REPRODUCE 1. Create or open pdf file with spaces in the beginning and end of lines 2. Select all text 3. See no spaces OBSERVED RESULT No spaces EXPECTED RESULT Selected spaces SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon User Edition 5.22 (available in About System) KDE Plasma Version: 5.22.3 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION