Red Hat Bugzilla – Bug 167386
evince 0.4.0 does not honor window size/position metadata
Last modified: 2007-11-30 17:11:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
The last update of evince keeps per-document metadata, including window
size and position. These are updated when changed so they can be used as
default when the same file is opened later. However this is not the case
with those settings; it _does_ work with the page number / zoom setting,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a PDF file with evince
2. Modify the window size and the zoom level.
3. Close evince
4. Restart evince with the same file.
Actual Results: The zoom level selected at step 2 is preserved, but the window size is
Expected Results: The window size after step 4 should be the one after step 2.
Fiddling with the source code, I managed to find a solution.
I will add the patch I used as an attachment; since I am not an expert
GTK programmer, it might not be the ``right'' solution, but it works
Created attachment 118379 [details]
This patch for evince-0.4.0 solves bug 167386 for me.
With evince 0.6, evince remebmer zoom level, window position and size and
position in the document without problems.