GNOME Bugzilla – Bug 672388
Possibility to re-order the bookmarks in PDF Mod
Last modified: 2018-07-16 10:14:23 UTC
Created attachment 210081 [details] Image of the bug When I open a document with some bookmarks already saved, they appear in PDF Mod. If I suppress a page with a bookmark, this one goes away with page, and other ones are re-numbered, fine. But if I want to add more bookmarks between some already existing, or if I add another file and add some bookmarks, the only solution is to add them below the existing ones, there is no way to re-order them manually or automatically by N° of page. For example in the screenshot : I had a document with 2 pages, bookmarks "Pois Printemps" p. 1 and "Essais Nord" p. 2. I added a 4 pages new document without bookmarks, its pages come before the others. The bookmarks "Pois Printemps" and "Essais Nord" have been well re-numbered p. 5 and 6, OK. Now if I add a new bookmark "Tarifs Poste" for the page 1, I can only create it under the 2 others, not directly at first, no possibility to move it after with the mouse or to reorder the bookmarks. The only way is to re-write bookmarks labels and page number for ALL bookmarks. Here it's easy, but with a document with hundred of pages or bookmarks, it's too much work... Is there a way to have ability to re-order them automatically in PDF Mod please ?
After that, if I open the document saved by PDF Mod in Evince, it's well displayed, bookmarks lead to the right pages, but there are not well ordered in the bookmark side window... (screenshot 2)
Created attachment 210082 [details] Image of the bug
Workaround: Add another bookmark, copy over descriptions and page numbers from preceding bookmark for each bookmark until you reach the desired position of the new bookmark and change that one according to your wishes. ...pretty annoying with a lot of bookmarks... :-(
Also see #767770
FWIW when you remove a bookmark and then "undo" if it was a top level bookmark (not a child of another bookmark) it is added back to the end of the list of bookmarks, so possibly a quicker workaround would be to remove the bookmarks starting from the one that should be at the bottom and working up (easy in the normal case where the bookmarks are supposed to be ordered by increasing page number), then undo repeatedly (make sure you stop when you are supposed to!)
Also make sure you save first - I've had a crash in testing while stuffing around with this. With big pdfs a better workaround would probably be to fix the bookmarks using another software e.g. jpdfbookmarks or the Windows freeware Foxit viewer or PDFxchange Editor.
pdfmod is not under active development anymore and had its last code changes in 2011. Its codebase has been archived: https://gitlab.gnome.org/Archive/pdfmod/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.