[Okular-devel] [Bug 312138] New: Unfolded table of contents folds in upon reloading of document

Oliver Sander sander at mi.fu-berlin.de
Sun Dec 23 22:19:29 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=312138

            Bug ID: 312138
           Summary: Unfolded table of contents folds in upon reloading of
                    document
    Classification: Unclassified
           Product: okular
           Version: 0.15.90
          Hardware: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: sander at mi.fu-berlin.de

I work on a large text document using pdflatex.  The latex 'hyperref' package
embeds the table of content into the document, and I can browse the toc in
okular.  Very nice.  At program start the toc view opens at the top level (only
chapter headings are shown, no sections or subsections).  I can then click on a
chapter to see the list of subsections it contains.  This all works nicely, but
here is the annoyance: If I recompile my document, and okular reloads the pdf
file, then the toc 'folds in' and again only the chapter headings are shown. 
Since recompilation is frequent in a LaTeX workflow this behavior is somewhat
annoying.

I have described the problem for pdf, but the same happens when compiling the
TeX source to dvi.

I'll attach a simple pdf file for your convenience.

Reproducible: Always

Steps to Reproduce:
1. Open attached test file
2. Open the toc view in the left column
3. Click on the little right-pointing arrow next to Chapter 'foo', you'll see
section 'bar' below
4. In a shell, type 'touch toc-folding.pdf'

Actual Results:  
The toc view goes into its initial state, showing only the chapter 'foo'

Expected Results:  
The toc view should keep its current state, i.e., show 'foo' and 'bar'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list