[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 310572] New: Inaccessible yellow highlighting annotation because of wrongly calculated boundary
From:       Jaan Vajakas <jaanvajakas () hot ! ee>
Date:       2012-11-23 21:13:14
Message-ID: bug-310572-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 310572
          Severity: normal
           Version: 0.15.3
          Priority: NOR
          Assignee: okular-devel@kde.org
           Summary: Inaccessible yellow highlighting annotation because of
                    wrongly calculated boundary
    Classification: Unclassified
                OS: Linux
          Reporter: jaanvajakas@hot.ee
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: okular

Created attachment 75433
  --> https://bugs.kde.org/attachment.cgi?id=75433&action=edit
a document with inaccessible annotation

With the yellow highlighter tool, is possible to create annotations which
cannot be edited or deleted by clicking on them.

How to reproduce:
Open some PDF file, select the yellow markup tool, start dragging to the right
from the beginning of some line and release the mouse button when the cursor is
on the vertical scrollbar on the right. Then click with the left mouse button
somewhere in the document.

Actual result:
A yellow highlighting annotation is created which cannot be accessed by
clicking on it: a left double-click or right-click on the yellow area does
nothing (but fortunately, it is still accessible via the Navigation Panel).

The XML file in ~/.kde4/share/apps/okular/docdata/ contains a tag like this:
      <boundary l="-0.000673401" r="0" b="0" t="-0.00047619"/>
The negative coordinates of the boundary suggest that the problem is that the
boundary of the annotation has been wrongly calculated.

Attached is a file LoremIpsum.pdf.zip containing an original document
LoremIpsum.pdf and the corresponding XML file
~/.kde4/share/apps/okular/docdata/13561.LoremIpsum.pdf.xml which contains an
inaccessible annotation created as described above.

Expected result:
The created yellow highlighting annotation should be accessible by clicking on
it. It would be nice, but maybe not worth the trouble, if such annotations
created by older versions of Okular became clickable, too, in the new fixed
version of Okular (i. e. if the boundaries were recalculated).

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic