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 389705 - evince forgets previous state
evince forgets previous state
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
0.7.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-26 12:17 UTC by asubedi
Modified: 2007-01-15 13:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description asubedi 2006-12-26 12:17:28 UTC
Please describe the problem:
Evince now forgets what page I was on last time I closed it. It also forgets that I had closed the sidebar last time I used it. I am running up-to-date Ubuntu Feisty. This did not happen in Edgy. 

Steps to reproduce:
1. Open a pdf document.
2. Move to a different page.
3. Close evince and open it again.


Actual results:
Evince starts at the first page of the document.

Expected results:
Evince should start at the page I was in last time I used it.

Does this happen every time?
yes.

Other information:
Comment 1 Carlos Garcia Campos 2006-12-26 17:02:08 UTC
hmm, if you close evince and the document is in the latest page, it's not remembered, but if you are in any other page it should be remembered. Does it happens by moving to any page in the document?
Comment 2 asubedi 2006-12-26 18:25:44 UTC
Yes. I open a document, move to page 7 of 17, and close it. Next time I open it, it is on page 1.
Comment 3 Carlos Garcia Campos 2006-12-27 17:51:23 UTC
I can't reproduce the problem, does it happens always with any pdf file? or is it specific to a certain pdf?
Comment 4 asubedi 2006-12-27 23:16:51 UTC
It happens with every pdf file. I checked ~/.gnome2/evince/ev-metadata.xml and the current version of evince doesn't seem to touch that file. Is it because of this?
Comment 5 Carlos Garcia Campos 2006-12-28 10:24:09 UTC
Yes, it has to be the problem, but evince should write to ev-metadata.xml, so now we have to find out why. 
hmm, any other settings are not saved too, right? I mean that ev-metadata.xml is not touched at all, or is only page setting what is not written to the file. 

Comment 6 Carlos Garcia Campos 2006-12-28 10:43:42 UTC
just another question, do you know whether you have evince compiled with dbus support? and could you attach your ev-metadata.xml as an attachment to this bug, please? it could be broken or something like that. 

Thanks a lot for your help.
Comment 7 Wouter Bolsterlee (uws) 2006-12-28 10:54:41 UTC
You could try removing the metadata file and see whether it's recreated next time you launch/quit Evince.
Comment 8 asubedi 2006-12-28 15:05:57 UTC
Hi, this seems like a Ubuntu problem. I downloaded a deb source file and built it myself. The problem is gone now. Sorry for bugging you guys.
Comment 9 Wouter Bolsterlee (uws) 2006-12-28 15:13:41 UTC
Ok, thanks for investigating!
Comment 10 Sebastien Bacher 2007-01-15 13:45:26 UTC
no reason for it to be an Ubuntu bug, the package has no patch that change that code if there is a code bug it's from upstream