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

            Bug ID: 501356
           Summary: Okular does not respect logical text order in PDF
                    while selecting text
    Classification: Applications
           Product: okular
           Version: 23.08.5
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel@kde.org
          Reporter: nightmarex1...@hotmail.com
  Target Milestone: ---

Created attachment 179300
  --> https://bugs.kde.org/attachment.cgi?id=179300&action=edit
Example PDF

SUMMARY
Text selection in Okular works differently from browsers (both Firefox &
Chrome). Most PDF viewer software seem to select text in the same order they
logically appear inside the PDF file rather than where they are located on the
page. Selecting text by positional heuristics might make sense for PDF files
produced by things like scanners / OCR readers, but makes no sense for files
produced by Word documents, HTML files and such.

I believe the default text selection behavior should match browsers', and the
current behavior should be made available behind a configurable setting.

STEPS TO REPRODUCE
1. Open the attached PDF file.
2. Select text.

OBSERVED RESULT
Text is selected in an unknown/different order. (See attachments)

EXPECTED RESULT
Text is selected in logical order.

SOFTWARE/OS VERSIONS
OS: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
I'm not sure if this issue has to do with the PDF backend specifically or the
way document viewer UI handles text selection in general.

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

Reply via email to