GNOME Bugzilla – Bug 389705
evince forgets previous state
Last modified: 2007-01-15 13:45:26 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:
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?
Yes. I open a document, move to page 7 of 17, and close it. Next time I open it, it is on page 1.
I can't reproduce the problem, does it happens always with any pdf file? or is it specific to a certain pdf?
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?
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.
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.
You could try removing the metadata file and see whether it's recreated next time you launch/quit Evince.
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.
Ok, thanks for investigating!
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