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 338707 - Fails to select index view automatically at start-up
Fails to select index view automatically at start-up
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
0.5.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-16 15:35 UTC by Sebastien Bacher
Modified: 2006-04-29 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-04-16 15:35:09 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""
Comment 1 Nickolay V. Shmyrev 2006-04-29 11:35:22 UTC
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.
Comment 2 Sebastien Bacher 2006-04-29 11:56:22 UTC
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?
Comment 3 Nickolay V. Shmyrev 2006-04-29 11:58:49 UTC
Why not? That will allow user to use most wanted layout.
Comment 4 Sebastien Bacher 2006-04-29 12:22:15 UTC
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
Comment 5 Nickolay V. Shmyrev 2006-04-29 12:25:23 UTC
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.