[Okular-devel] [okular] [Bug 318828] New: Wrong ObjectRect after modifying annotation properties in a rotated document

Fabio D'Urso fabiodurso at hotmail.it
Thu Apr 25 00:42:44 UTC 2013


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

            Bug ID: 318828
           Summary: Wrong ObjectRect after modifying annotation properties
                    in a rotated document
    Classification: Unclassified
           Product: okular
           Version: 0.16.60
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: fabiodurso at hotmail.it

After modifying an annotation's properties (i.e. right click -> properties) in
a rotated document, its ObjectRect (=the object used for mouse hit testing)
gets wrong.
Its normalized coordinates would be correct if the document was not rotated, so
it must be a missing rotation somewhere.

This happens on any document, I'm attaching an example one I've made to better
explain the issue.

Reproducible: Always

Steps to Reproduce:
1. Open the attached document
2. Rotate it by 90 degrees so that the text looks horizontal
3. Right-click on the annotation and edit some property (e.g. its color)
4. Confirm
5. Notice how right-click no longer works properly: the hitbox now roughly
corresponds to the blue area. Right clicks on the upper/lower parts of the
ellipse don't "find" the annotation.

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


More information about the Okular-devel mailing list