[okular] [Bug 488312] New: Text Highlighting: Enable editing of coordinates of the bounding box

Leonard Mada bugzilla_noreply at kde.org
Mon Jun 10 18:04:27 BST 2024


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

            Bug ID: 488312
           Summary: Text Highlighting: Enable editing of coordinates of
                    the bounding box
    Classification: Applications
           Product: okular
           Version: 23.08.5
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: leo.mada at syonic.eu
  Target Milestone: ---

SUMMARY
The size of the bounding box when highlighting text inside a pdf-document is
sometimes wrong.

The top and bottom boundaries are most-commonly affected. The left/right
boundaries are sometimes affected as well (severly affected).

SOLUTION
Enable the editing of the coordinates of the bounding box.


STEPS TO REPRODUCE
1. Open certain pdfs (I can provide an example)
2. Highlight certain text-sections

OBSERVED RESULT
Case 1: Bounding box extends way beyond the last word (covering even part of
the next word).
Case 2: Bounding box extends well beyond the bottom of the words (at least 2x
as high as the actual words).


EXPECTED RESULT
Solution 1: compute more robustly the bounding box (but problems may still
appear).
Solution 2: allow users to change manually the coordinates of the bounding box,
e.g. in the properties window.


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Can provide example pdfs.

Solution 2 would allow to manually correct the bounding box. The coordinates
could be displayed in the properties window (only in the case of a simple
rectangular area). More complex areas could be covered in future issues.

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


More information about the Okular-devel mailing list