Bug 436740 - Freehand line annotations appear on wrong page
Summary: Freehand line annotations appear on wrong page
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 16:21 UTC by pbs3141
Modified: 2021-05-07 22:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pbs3141 2021-05-07 16:21:14 UTC
SUMMARY

Freehand lines can be made to appear at the top of the next page, or the bottom of the previous page, if that page is clicked before drawing the line.

STEPS TO REPRODUCE

1. Open a PDF document with more than one page.
2. Select the 'Freehand Line' tool.
3. Click on page 1 without moving the mouse by even a pixel.
4. Draw the annotation on page 2.

OBSERVED RESULT

The line appears on page 1, crushed into the bottom of the page making it nearly invisible.

EXPECTED RESULT

The line should appear on page 2.
Comment 1 Albert Astals Cid 2021-05-07 18:08:56 UTC
I don't understand how you can draw an annotation in page 2 without moving the mouse that is on page 1, can you clarify?
Comment 2 pbs3141 2021-05-07 22:09:31 UTC
In step 3, you should just click and release, taking care not to move the mouse in between.

The only reason I emphasized this was because it's quite easy to do accidentally, but it makes the bug disappear.
Comment 3 Albert Astals Cid 2021-05-07 22:19:17 UTC
Ah, i see what you mean, doing a single click on one page starts the Freehand Line annotation but doesn't finish it so you can go to another page and pretend to do the annotation and it doesn't work because it's still happening on the first page.

while you're here you would prefer that a 1 click annotation creates a mini annotation of just 1 point or "does nothing"?
Comment 4 pbs3141 2021-05-07 22:51:45 UTC
I'd never thought about that. I suppose as long as the result would be visible, it makes more sense to create a mini annotation.