After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163570 - Remember sidebar position/size
Remember sidebar position/size
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-10 14:43 UTC by Vincent Noel
Modified: 2005-02-25 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch for sidebar size persiting (5.18 KB, patch)
2005-02-23 17:44 UTC, Carlos Garcia Campos
none Details | Review

Description Vincent Noel 2005-01-10 14:43:44 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.
Comment 1 Marco Pesenti Gritti 2005-01-10 17:53:37 UTC
Renaming so that it also apply to statusbar and toolbar.
Size of the sidebar should be remembered too.
Comment 2 Vincent Noel 2005-01-10 18:22:26 UTC
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.
Comment 3 Pablo Rodríguez 2005-01-12 14:59:34 UTC
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.
Comment 4 Bryan W Clark 2005-01-27 19:03:39 UTC
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.
Comment 5 Marco Pesenti Gritti 2005-02-08 15:41:50 UTC
We just need to remember sidebar visibility/position now. Patches welcome ;)
Comment 6 Vincent Noel 2005-02-08 17:41:41 UTC
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.

Comment 7 Bryan W Clark 2005-02-22 16:34:15 UTC
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.
Comment 8 Carlos Garcia Campos 2005-02-23 17:44:14 UTC
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.
Comment 9 Marco Pesenti Gritti 2005-02-24 09:27:54 UTC
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.
Comment 10 Marco Pesenti Gritti 2005-02-25 08:38:29 UTC
I finished this and checked in because I want it in the release... Thanks!