GNOME Bugzilla – Bug 338707
Fails to select index view automatically at start-up
Last modified: 2006-04-29 12:25:23 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evince/+bug/38018 "According to the change log for Evince, in version 0.5.0: ----------------------- evince (0.5.0-0ubuntu1) dapper; urgency=low * New upstream version: Interface Improvements: - Show index by default if available ------------------------- I understand it as: when you open a PDF file which has index (like say a book), automatically, it shows the side pane on the left, and select "index" view instead of thumbnails. If I understood it right, then it doesn't work. ... > Thanks for your bug. It should probably happens on the first opening only since it stores the information about the .pdf you opened and use them when you open it again. Do you have an URL of example? What value do you have for the gconf /apps/evince/show_sidebar key? ... Ahhhhhh....... I didn't think of that, oops... I was doing my tests by opening the same file over and over again ! I did notice that evince was storing some stuff about already opened files, but I thought the index thing wasn't part of it. Okay. I switch to new/fresh user to be 200% sure that Evince didn't have any stored data about any files. When re-opening the file I used for this bug report, it DID successfully open the side pane and use the index. However, I opened a few more files, and found some where it failed to display the index despite it was available. I have attached a couple of them. http://librarian.launchpad.net/1930240/PIC%2017C%20-%20FFT.pdf example #1 http://librarian.launchpad.net/1930258/CRT%20%208051.pdf example #2 Ah, I think we have a problem here ;-) .... I don't have this key ! under /apps/evince, I can see only one key: "override_restrictions""
The document settings lies in .gnome2/evince/ev-metadata.xml. We do select index by default, we only fallback to thumbnails if you've previously selected them in other documents. This is the way how metadata works.
It would make sense to not depend on what you did with other documents before but only with that document if you already opened it, no?
Why not? That will allow user to use most wanted layout.
That's not because I change the setting on one pdf than I want to change the default mode ... that should be a config option probably
I'd better prefer the selection of defaults by most often selection in other documents. We need to slightly modify our metadata engine to add this behavior. Or select them by several previously opened documents so that single change won't affect anything.