GNOME Bugzilla – Bug 137511
remember window size
Last modified: 2006-01-31 21:56:12 UTC
Whenever I open a pdf with gpdf, I have to change the window size to be able to see the displayed page in its entirety. Then I can quickly browse back and forth in the document thanks to gpdf clear interface. However when I close the window and open another pdf, the window size I choose is forgotten, and the window size is back to default. This forces me to change the window size again, especially when I turn the sidebar on (only a very small part of the page is shown). This problem would be resolved by gpdf remembering the last window size.
Yes a task have been planned for adding preferences (gconf keys) in gpdf/gnome-pdf-viewer. Window size will be one of the very first...
Ok, good to know that... I think gpdf is the gnome app I use the most, with epiphany and evolution... and the last versions are almost perfect for daily use. Is there a bug number to track the preferences work ?
This will be the one... ;-) Martin would you reassign please? I'll throw a list of possibles keys as a base for discussions. Could also handle the preference dialog problem here. Agreed?
Reassigned to Rémi.
Created attachment 30188 [details] [review] patch to make gpdf remember its window size I had some free time this afternoon, so here is a patch to make gpdf remember its window size. It it duplicates your own efforts feel free to discard it. It needs also two files (gpdf-prefs.c and .h) that I will attach.
Created attachment 30189 [details] gpdf-prefs.c
Created attachment 30190 [details] gpdf-prefs.h for the patched version to compile, both files should be put in gpdf/shell.
*** Bug 138821 has been marked as a duplicate of this bug. ***
Bug 138821 has also a patch to implement this, so it seems to be a popular feature request.
This patch adds a great feature, and applies against gpdf-2.8.0 sources. Any reason why it isn't applied into cvs yet?
Closing WONTFIX. GPdf is no longer maintained. Please use evince for your pdf viewing needs. http://www.gnome.org/projects/evince/ I apologise for never reviewing this patch. Evince does remember the window sizes for each file.
evince does not remember window sizes, even in 0.5, nor does it pick sensible window sizes to begin with. Reopen, reassign to evince.
Done. Version set as per private comment. Thanks for taking care about this and ensuring software quality. :)
We already discuss this evince issue in another bug *** This bug has been marked as a duplicate of 168450 ***