Bug 138646

Summary: clicking on pdf bookmarks always opens page 1
Product: [Fedora] Fedora Reporter: Gustavo J. A. M. Carneiro <gjc>
Component: gpdfAssignee: Marco Pesenti Gritti <mpg>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: fedora_mail, gemi, nutello
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-19 20:13:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
One-liner that seems to do the trick none

Description Gustavo J. A. M. Carneiro 2004-11-10 14:45:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020 Galeon/1.3.17.99

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):
gpdf-2.8.0-8

How reproducible:
Always

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

Additional info:

Comment 1 Dan Williams 2004-11-17 18:25:44 UTC
Mass reassign to Marco.

Comment 2 Rudi Chiarito 2004-12-04 23:47:43 UTC
I can see this with a variety of files. It was also reported in bugs
141420 and 141878.

Comment 3 Marco Pesenti Gritti 2004-12-06 21:18:17 UTC
*** Bug 141420 has been marked as a duplicate of this bug. ***

Comment 4 Marco Pesenti Gritti 2004-12-06 22:36:42 UTC
*** Bug 141878 has been marked as a duplicate of this bug. ***

Comment 5 Anders Berg 2004-12-30 12:34:49 UTC
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.

Comment 6 Marco Pesenti Gritti 2005-01-03 11:22:44 UTC
I added a patch to http://bugzilla.gnome.org/show_bug.cgi?id=159937

Comment 7 Marco Pesenti Gritti 2005-01-10 11:26:20 UTC
Updates for FC2/FC3 will be available soon. Testing would be very welcome.

I think this is worth a rhel4 errata too.