[okular] [Bug 431635] New: Wrong text selection for uncommon characters

Boris Petrov bugzilla_noreply at kde.org
Fri Jan 15 11:58:17 GMT 2021


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

            Bug ID: 431635
           Summary: Wrong text selection for uncommon characters
           Product: okular
           Version: 20.12.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: boris.v.petrov at protonmail.com
  Target Milestone: ---

Created attachment 134886
  --> https://bugs.kde.org/attachment.cgi?id=134886&action=edit
Video showing the bug

SUMMARY


STEPS TO REPRODUCE
1. Open any pdf (tested with two) containing uncommon characters (see
attachments)
2. Try to select the said characters with the text selection tool

OBSERVED RESULT

The selection tool selects more than just the character, somehow selecting the
line below as well. This can be seen when trying to copy the selection (in Kate
for instance). It not only copies the character but also the line below it (if
there is one, else it copies only the selected text, as expected).

I thought it might be an issue with the pdf but trying the same thing with
Firefox's pdf reader doesn't give me this behavior so it has something to do
with Okular.

EXPECTED RESULT

The selection tool should behave the same way with those uncommon characters.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Manjaro 20.2 
(available in About System)
KDE Plasma Version: KDE Plasma 5.20.4
KDE Frameworks Version: 5.77
Qt Version: 5.15

ADDITIONAL INFORMATION

I noticed that when trying to read with Okular a txt file with those characters
in it, Okular fails to do it. Maybe something to do with the encoding?


Also not related to the bug, but just want to thank every contributor to
Okular, it really is an amazing tool!

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


More information about the Okular-devel mailing list