[okular] [Bug 492957] New: Text annotations with a zero-area bounding box can not be opened (no pop up).

ederag bugzilla_noreply at kde.org
Tue Sep 10 20:53:35 BST 2024


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

            Bug ID: 492957
           Summary: Text annotations with a zero-area bounding box can not
                    be opened (no pop up).
    Classification: Applications
           Product: okular
           Version: 23.08.5
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: edera at gmx.fr
  Target Milestone: ---

Created attachment 173539
  --> https://bugs.kde.org/attachment.cgi?id=173539&action=edit
File generated by LibreOffice Impress with a comment

Annotations with a zero-area bounding box
(x_min == x_max  || y_min == ymax)
seem impossible to open in okular.


As an example, please find attached
a PDF generated by LibreOffice Impress (a single page with some text and a
comment below).

I understand their idea: the reader is then allowed to choose the most
appropriate area
where the mouse should hover to popup the comment
(for instance it could match the icon marking the comment presence).

That's why it is tentatively reported here.
If the okular devs have counter-arguments, I'd be glad to hear
and turn the discussion to LibreOffice, of course.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12 

ADDITIONAL INFORMATION

Here is the line with the annotation bounding box in the PDF:
<</Type /Annot /Subtype /Text /BS<</W 0>>/Rect[355.124 303.221 355.124 303.221]
/Popup 9 0 R /M

Increasing both xmax and ymax (say by 10.0) in a text editor allow to popup the
comment normally in okular.

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


More information about the Okular-devel mailing list