[okular] [Bug 458516] Spaces in content filenames causes a second copy of the book's content to be shown; TOC points to the second copy.

Duane bugzilla_noreply at kde.org
Wed Sep 14 01:29:01 BST 2022


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

--- Comment #4 from Duane <duane-tech at evenson.ca> ---
Created attachment 152038
  --> https://bugs.kde.org/attachment.cgi?id=152038&action=edit
screenshot of okular mistakenly displaying a second copy of the epub content

Note that the TOC shows chapters 1-3 pointing to pages 4-6. This is the second
copy of the content. The first copy of chapters 1-3 is on pages 1-3. Page
through the document and you'll see it displayed as:
page 1  Chapter 1
page 2  Chapter 2
page 3  Chapter 3
page 4  Chapter 1 (pointed to by TOC)
page 5  Chapter 1 (pointed to by TOC)
page 6  Chapter 3 (pointed to by TOC)
page 7  (blank)
.
Yet, the epub only contains (chapter) files:  
te st_split_000.html
te st_split_001.html
te st_split_002.html
. 
Rename the files to "test_split_000.html", "test_split_001.html", and
"test_split_002.html", and edit "content.opf" and "toc.ncx" to contain the new
names and okular stops displaying the first copy of the chapters.

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


More information about the Okular-devel mailing list