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 627747 - Allow Creation Of Bookmarks
Allow Creation Of Bookmarks
Status: RESOLVED WONTFIX
Product: pdfmod
Classification: Other
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: pdfmod-maint
pdfmod-maint
gnome[unmaintained]
Depends on:
Blocks: 628268
 
 
Reported: 2010-08-23 16:59 UTC by David Richards
Modified: 2018-07-16 10:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pdf generated by pdfmod with faulty bookmarks (4.70 KB, application/pdf)
2016-06-29 06:30 UTC, Alister
Details
original pdf before without bookmarks (3.62 KB, application/pdf)
2016-06-29 06:31 UTC, Alister
Details

Description David Richards 2010-08-23 16:59:25 UTC
We have a high number of employees that are using Acrobat Pro only for the feature of being able to insert bookmarks on certain pages.  We are requesting this feature.  

The user should be able to right-mouse between two pages and select "Insert Bookmark" and it should allow them to enter their string and then insert something into the UI alerting them of the bookmark.  There probably should be another technique available too so that all skills of employees find it intuitive.  Possibly when you are clicked into a page, there could be a Insert >> Bookmark Before Page in the pulldowns to accomplish the same goal.
Comment 1 Gabriel Burt 2010-08-31 20:28:49 UTC
I just committed a first pass at implementing this:

commit 637b1cadba6e6ee9005ea519c2f1199a5f2ba778
Author: Gabriel Burt <gabriel.burt@gmail.com>
Date:   Tue Aug 31 15:23:35 2010

    First pass at Bookmarks support
    
    Adds a sidebar TreeView with that shows the existing bookmarks, letting
    you edit and remove them and add new bookmarks.  Needs more testing and
    polish.  A big step toward closing bgo#627747

commit 086d69de55e37635a29252c895c2129e9cedea5b
Author: Gabriel Burt <gabriel.burt@gmail.com>
Date:   Tue Aug 31 15:21:51 2010

    [PdfSharp] Fix support for reading outlines/bookmarks
    
    Before you could add new ones and save them, but you couldn't read in
    existing ones, edit them, etc.
Comment 2 Gabriel Burt 2010-08-31 21:20:59 UTC
Some more ideas from David:

"If it's possible, they should all default to the top level and then maybe drop and drag them under another and they become a child.  Some kind of visual cue before a page that a bookmark's there is cool too, like a red edge on the thumbnail."
Comment 3 Alister 2016-06-29 06:20:40 UTC
There is a problem with the current implementation.
In some cases it creates bookmarks which:
- aren't visible in adobe (but are in foxit and pdfxchange), and
- crash pdfmod when opening the file, if it has been ported to use the latest beta version of pdfsharp.

If I run the offending file through http://sourceforge.net/projects/pdfmerge (which also uses pdfsharp) it is fixed - their handling of bookmarks seems quite different as they are not using outlinecollections at all.
Comment 4 Alister 2016-06-29 06:30:51 UTC
Created attachment 330527 [details]
pdf generated by pdfmod with faulty bookmarks
Comment 5 Alister 2016-06-29 06:31:25 UTC
Created attachment 330528 [details]
original pdf before without bookmarks
Comment 6 Alister 2016-06-29 06:33:16 UTC
Another problem is that in some cases when opening a pdf in pdfmod it shows the bookmarks (created by other software) as pointing to page 0, when they actually point to other pages.  But this problem is resolved by porting to the beta version of pdfsharp.
Comment 7 Alister 2016-06-29 06:35:01 UTC
Oh, I guess that latter problem is #672385
Comment 8 André Klapper 2018-07-16 10:13:06 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.