After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672388 - Possibility to re-order the bookmarks in PDF Mod
Possibility to re-order the bookmarks in PDF Mod
Status: RESOLVED WONTFIX
Product: pdfmod
Classification: Other
Component: general
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: pdfmod-maint
pdfmod-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2012-03-19 11:37 UTC by Xavier Guillot
Modified: 2018-07-16 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Image of the bug (344.61 KB, image/png)
2012-03-19 11:37 UTC, Xavier Guillot
Details
Image of the bug (170.11 KB, image/png)
2012-03-19 11:39 UTC, Xavier Guillot
Details

Description Xavier Guillot 2012-03-19 11:37:35 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 ?
Comment 1 Xavier Guillot 2012-03-19 11:39:07 UTC
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)
Comment 2 Xavier Guillot 2012-03-19 11:39:31 UTC
Created attachment 210082 [details]
Image of the bug
Comment 3 9xs 2013-04-04 16:35:10 UTC
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... :-(
Comment 4 Alister 2016-06-17 01:19:15 UTC
Also see #767770
Comment 5 Alister 2016-06-17 05:09:22 UTC
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!)
Comment 6 Alister 2016-06-17 05:12:05 UTC
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.
Comment 7 André Klapper 2018-07-16 10:14:23 UTC
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.