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 168285 - Remember per-document user settings
Remember per-document user settings
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other Linux
: Low enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 164772 307152 316481 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-23 17:18 UTC by Bryan W Clark
Modified: 2005-09-16 22:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bryan W Clark 2005-02-23 17:18:33 UTC
On a per-document basis it would be good to remember the last zoom level a
person used on a certain document.
Comment 1 Martin Kretzschmar 2005-02-23 17:28:46 UTC
We should probably look at nautilus to see how they store per-directory
information (geometry etc.).
Comment 2 Paolo Borelli 2005-02-23 18:42:49 UTC
You may also want to look at gedit's gedit-metadata.c: it's a IMHO nice way of
storing document metadata and should be fairly generic. gedit uses it to
remember selected highlighting, last searched text, spell checker language etc.
Comment 3 Marco Pesenti Gritti 2005-02-28 11:23:31 UTC
Using gedit-metadata-manager.c sounds like a good idea. It should also be very
easy to get it going... Someone should really give it a try ;)
Comment 4 Christian Persch 2005-02-28 15:08:32 UTC
I've had a look at gedit-metadata-manager, and it seems to me it's not really
adapted to evince, where we launch new instances of it instead of forwarding to
one existing instance of evince. It looks to me like gedit-metadata-manager will
overwrite the metadata saved from other instances (and not pick up metadata
saved from other instances of it running concurrently, but that's not so
important here, IMHO).

On the other hand, nautilus' metadata can be queried via corba/bonobo, so is
ideally suited for evince's situation. However, the convenience APIs for that
are in libnautilus-private, and the IDL is there as well, so I'm not sure we can
use that. Maybe ask the nautilus crew for public access to metadata?
Comment 5 Bryan W Clark 2005-04-08 18:28:00 UTC
Alex, any recommendations for using nautilus' metadata storage methods?
Comment 6 Alexander Larsson 2005-04-11 07:55:27 UTC
The nautilus metadata APIs won't be made public as-is. We have long though about
somehow making a metadata API public, however it won't be the current one, as it
ties in to strongly with nautilus internals.
Comment 7 Nickolay V. Shmyrev 2005-05-07 20:01:00 UTC
Also it would be nice to remember document current page and searched text and, 
probably, generated thumbnails. Of course, it would be nice to remember 
fullscreen/presentation mode, sidebar visibility and window geometry.

Here is related page in wiki

http://live.gnome.org/GnomeVFSMetadata
Comment 8 Nickolay V. Shmyrev 2005-05-07 20:06:21 UTC
*** Bug 164772 has been marked as a duplicate of this bug. ***
Comment 9 Marco Pesenti Gritti 2005-05-09 10:59:48 UTC
We may have to make evince one process for other reasons (avoid "duplicate"
documents). At that point gedit metadata may work.
Comment 10 bugs 2005-06-09 00:41:07 UTC
It would be nice to be able to change the default window size for all documents.
 For those of us with larger monitors, it is annoying to have to resize
documents every time we open them...
Comment 11 Bryan W Clark 2005-06-13 16:28:44 UTC
I'd rather we have a better algorithm for figuring out a decent size window to
use, than trying to allow changes to app wide defaults.
Comment 12 Bryan W Clark 2005-06-15 13:04:16 UTC
*** Bug 307152 has been marked as a duplicate of this bug. ***
Comment 13 Nickolay V. Shmyrev 2005-06-22 15:09:11 UTC
*** Bug 308130 has been marked as a duplicate of this bug. ***
Comment 14 Nickolay V. Shmyrev 2005-06-22 15:10:18 UTC
Another thing to remember - should use index or thumbnails in sidebar.
Comment 15 Marco Pesenti Gritti 2005-07-11 11:32:02 UTC
We have infrastructure in place for this and a bunch of properties already
remembered. Please post a separate bugs if there are more we could save.
Comment 16 Nickolay V. Shmyrev 2005-09-16 22:46:27 UTC
*** Bug 316481 has been marked as a duplicate of this bug. ***