Red Hat Bugzilla – Bug 138646
clicking on pdf bookmarks always opens page 1
Last modified: 2007-11-30 17:10:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
The bookmarks side panel is not working correctly. The bookmarks show
up correctly, but clicking on any bookmark always switches the viewer
to page 1, instead of the correct page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a PDF with bookmarks
2. Click on a bookmark
Actual Results: Viewer jumps to page 1
Expected Results: Viewer jumps to pointed to page
Mass reassign to Marco.
I can see this with a variety of files. It was also reported in bugs
141420 and 141878.
*** Bug 141420 has been marked as a duplicate of this bug. ***
*** Bug 141878 has been marked as a duplicate of this bug. ***
Created attachment 109176 [details]
One-liner that seems to do the trick
I've added a one-liner patch that seems make bookmarks work. It seems you can't
trust gtk_tree_selection_get_selected() NOT to update the GtkTreeIter*
parameter when returning FALSE.
I added a patch to http://bugzilla.gnome.org/show_bug.cgi?id=159937
Updates for FC2/FC3 will be available soon. Testing would be very welcome.
I think this is worth a rhel4 errata too.