Bug 407865 - If rotating the view the annotations are not rotated
Summary: If rotating the view the annotations are not rotated
Status: RESOLVED DUPLICATE of bug 334297
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.3.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-23 10:11 UTC by Luca Tagliacozzo
Modified: 2019-06-09 17:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Tagliacozzo 2019-05-23 10:11:52 UTC
SUMMARY

While the document is rotated, the annotation are displayed in the wrong place (as if the document wasn't rotated)
STEPS TO REPRODUCE
1. rotate a pdf document
2. use for example the highliter
3. the higlight appears in the wrong (unwanted place in the document) as if you were higlithing the region of the document that would be placed in the same position of the screen if the document was not rotated

OBSERVED RESULT

wrong positioning of the annotations
EXPECTED RESULT

annotations should appear where drawn 
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kernel 4.15.0.50-generic kunutu 18.04
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 Laura David Hurka 2019-05-23 11:57:18 UTC
If you use the highlighter tool, do you get a “lens-shaped yellow object arbitrary on the page”, like in Bug 334297?

It’s not really arbitrary, but positioned like you described it. The lens just looks pretty irritating. I will upload a screenshot in the other bug.

If you only have this issue with Highlighter, Underline, Squiggle, and Strike-Out, we can mark this as duplicate of Bug 334297.
Comment 2 Luca Tagliacozzo 2019-05-23 14:02:19 UTC
(In reply to David Hurka from comment #1)
> If you use the highlighter tool, do you get a “lens-shaped yellow object
> arbitrary on the page”, like in Bug 334297?
> 


If it is rotated clockwise 90 degree yes it is a lens, while if it is inverted (rotated twice in the same diraction) no. In that case it becomes a higlited line symmetric with respect to the center of the screen, this is the way in which it is easier to realize that the annotation tools have not been rotated. 
> It’s not really arbitrary, but positioned like you described it. The lens
> just looks pretty irritating. I will upload a screenshot in the other bug.
> 
> If you only have this issue with Highlighter, Underline, Squiggle, and
> Strike-Out, we can mark this as duplicate of Bug 334297.

I guess you are right, free hand drawing works as expected as the straight lines does the stamp also works, and the geometric shapes. Not sure what squiggle and strike-out are maybe I do not have them in my version of Okular,
sorry for submitting a duplicate
Comment 3 Laura David Hurka 2019-05-23 16:28:50 UTC
(In reply to Luca Tagliacozzo from comment #2)
> Not sure what squiggle and strike-out are maybe I do not have them
> in my version of Okular
AFAIK they are not configured by default.
If you right-click one of the annotation tools, you can configure them. The problematic tools are of type “Text Markup”, just add them.

> sorry for submitting a duplicate
If you didn’t find the other bug reports specific to this problem, don’t blame yourself to submit a bug report. :)
Comment 4 Laura David Hurka 2019-06-09 17:29:57 UTC
(In reply to Luca Tagliacozzo from comment #2)
> Not sure what squiggle and strike-out are maybe I do not have them
> in my version of Okular

Most probably a duplicate, these two remaining tools work mostly the same.

*** This bug has been marked as a duplicate of bug 334297 ***