GNOME Bugzilla – Bug 163570
Remember sidebar position/size
Last modified: 2005-02-25 08:38:29 UTC
Open evince. The sidebar is opened by default. Close the sidebar and quit evince. The next time you open evince, the sidebar should be closed, but this setting is never remembered.
Renaming so that it also apply to statusbar and toolbar. Size of the sidebar should be remembered too.
Just to let you know guys - evince is already far more usable than gpdf for most tasks, and I'm using it as my main pdf viewer. Congratulations for an awesome piece of work.
I don't know what should be done with other documents, but Adobe has released a document with the tile "PDF Open Parameters" (http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParams.pdf), that specify how PDF files should be opened and how should be displayed after an hyperlink is followed.
This is the kind of setting that should be remembered for the application lifetime, however just noting that bug 164772 talks about window properties that are for the document lifetime.
We just need to remember sidebar visibility/position now. Patches welcome ;)
I had missed the commit, but the sidebar visibility is actually remembered now... 2005-02-07 Christian Persch <chpe@cvs.gnome.org> Implement fullscreen mode changes from bug #164776. Also implement persistent chrome toggles.
Visibility is done, I'm renaming this to be about sidebar size. Perhaps this should be closed eventually to follow bug 166683 about the new sidebar widget.
Created attachment 37848 [details] [review] A patch for sidebar size persiting This patch also fixes an issue of the previous patch (#166683). I've only moved the connection of the sidebar visibility signal after the creation of the other widgets. It avoids calling to gtk_widget_show for widgets not created yet.
I think we should just set the size in gconf every time is changed, instead of storing it in the window structure. That way new windows will get the current sidebar size and not the one of the last closed window.
I finished this and checked in because I want it in the release... Thanks!