[okular] [Bug 401044] New: When "copying and pasting": Okular prints line breaks that don't really exist, and therefore some lines are "broken" :(

Ganton bugzilla_noreply at kde.org
Wed Nov 14 20:02:20 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=401044

            Bug ID: 401044
           Summary: When "copying and pasting": Okular prints line breaks
                    that don't really exist, and therefore some lines are
                    "broken" :(
           Product: okular
           Version: 1.4.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: kubry at gmx.com
  Target Milestone: ---

Created attachment 116312
  --> https://bugs.kde.org/attachment.cgi?id=116312&action=edit
A PDF file that can be used to see the bug

SUMMARY

When "copying and pasting": Okular prints line breaks that don't really exist,
and therefore some lines are "broken" :(

There are problems copying and pasting from a PDF file to e.g. a text editor,
or a terminal emulator. I attach the PDF file, and the ODT source file. The
problem doesn't happen using Adobe Acrobat.


STEPS TO REPRODUCE

1. Open the pdf file.
2. Copy the text.
3. Paste the text in a text editor.


OBSERVED RESULT (the text after copying and pasting from the PDF file to a text
editor or a terminal emulator)

ZERO*)
echo "0";;
*ONE\
TWO\ *) echo "1 2" ;;
*ONE\
THREE\ *) echo "1 3" ;;
*ONE\
FOUR\ *) echo "1 4" ;;
ONE*)
echo "1" ;;


EXPECTED RESULT

ZERO*) echo "0";;

*ONE\ TWO\ *) echo "1 2" ;;
*ONE\ THREE\ *) echo "1 3" ;;
*ONE\ FOUR\ *) echo "1 4" ;;
ONE*) echo "1" ;;


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.5.0
Qt Version: 5.11.1


ADDITIONAL INFORMATION

The bug is seen under Kubuntu 18.10, using  0.6.5 PDF engine, and libpoppler
0.58.0... but the same happens using Kubuntu 14.04 (yes, from 2014)).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list