Bug 397222 - Move an annotation over page border makes it inaccessible
Summary: Move an annotation over page border makes it inaccessible
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 432458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-06 19:04 UTC by Gregor Mi
Modified: 2022-08-09 23:43 UTC (History)
4 users (show)

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 Gregor Mi 2018-08-06 19:04:38 UTC
Reproduce:

1. Have a two page PDF file and open it with Okular
2. Create an annotation on page 2
3. Move the annotation to page 1
4. The annotation disappears. It can now only be accessed from the "Reviews" tree view where it can be edited and deleted but not moved to make it visible again.
Comment 1 Oliver Sander 2018-08-06 19:09:13 UTC
I can confirm this.
Comment 2 Albert Astals Cid 2018-08-08 21:51:41 UTC
Yeah you're not supposed to move annotations between pages, AFAIR there's code to prevent that, but i guess it broke at some point
Comment 3 Allexus J 2021-02-25 06:35:56 UTC
still happens. very annoying :(
but I posted here: https://bugs.kde.org/show_bug.cgi?id=432458
mine could be a duplicate of this bug
Comment 4 Nikola Nikolic 2022-08-07 02:52:49 UTC
*** Bug 432458 has been marked as a duplicate of this bug. ***
Comment 5 Bug Janitor Service 2022-08-07 03:14:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/641
Comment 6 Albert Astals Cid 2022-08-09 23:43:21 UTC
Git commit 46f8034335498e38b107bf730f2cc228afc22b80 by Albert Astals Cid, on behalf of Nikola Nikolic.
Committed on 09/08/2022 at 22:51.
Pushed by aacid into branch 'master'.

Prevent annotations from being moved over the page border

M  +19   -1    part/pageviewmouseannotation.cpp

https://invent.kde.org/graphics/okular/commit/46f8034335498e38b107bf730f2cc228afc22b80