Bug 298469

Summary: okular should display and navigate using djvu page titles when available
Product: [Applications] okular Reporter: Evan Sosenko <razorx>
Component: DjVu backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: aacid, disberd
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:
Attachments: Sample DjVu file with page titles.

Description Evan Sosenko 2012-04-20 06:36:44 UTC
Books and other documents often have sectioned page numbering. For example, a cover page, pages i, ii, ..., ix for the front matter, then the real page 1 several physical pages in.

Page titles are supported in DjVu as page number alternatives, however okular does not implement this feature. This situation is analogous to bug 187237 for PDF files.

From the DjVuLibre Documentation: When page titles are available, recent versions of the DjVuLibre viewers display these page titles instead of page numbers and also accept them in page selection options.

Reproducible: Always

Steps to Reproduce:
Open a DjVu file with page titles.
Actual Results:  
Page numbers are displayed and used for navigation.

Expected Results:  
Anywhere page numbers appear, page titles (when they exist) should be displayed instead. Any navigation (go to page, the document outline, and DjVu annotation links on the pages) should always look-up by page title first and then page number.

DjView4 exhibits the desired behavior and may be used as a reference.
Comment 1 Albert Astals Cid 2012-04-21 16:38:39 UTC
Can you please attach a djvu file to reproduce?
Comment 2 Evan Sosenko 2012-04-21 23:47:56 UTC
Created attachment 70559 [details]
Sample DjVu file with page titles.

Here is a sample DjVu file with page titles as requested.
Comment 3 Alberto 2017-04-21 11:38:26 UTC
Is there any news on this feature?
This bug report is quite old but couldn't find any other information on the matter
Comment 4 Albert Astals Cid 2017-04-21 13:47:39 UTC
Needs someone to work on it