[Okular-devel] [Bug 236688] New: Make use of table of contents data to improve page ordering in CHM files

Eike Hein hein at kde.org
Fri May 7 13:50:32 CEST 2010


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

           Summary: Make use of table of contents data to improve page
                    ordering in CHM files
           Product: okular
           Version: 0.10.3
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: CHM backend
        AssignedTo: okular-devel at kde.org
        ReportedBy: hein at kde.org


Right now, even in CHM files which carry a TOC, Okular will order the pages
alphabetically by file name (or actually, chmlib's chm_enumerate() does). With
many CHM files, this produces a page order that is not useful for reading.

Instead, it should make use of the TOC data for page ordering if available. Any
pages linked from the TOC should be put in the page list first, in the order
they appear in the TOC. Then all remaining pages (as there may be pages that
are not linked from the TOC but should still be reachable via the page list)
can be added at the end, in alphabetical order.

(This is which kchmviewer seems to be doing as well.)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list