Skip to content

TOC links of azw3 sometimes are broken #1525

@voltage-poppy

Description

@voltage-poppy

Bug Description

When reading a azw3 file, some headings in the outline are not linked to expected postion.

The following are two cases for reproducing the problem.

For example of File A, clicking the outline item "第7章 将BERT模型应用于其他语言" will navigate to the beginning of the book rather than 第7章

File A.zip

For example of File B, clicking the outline item "第三部分 革命之前大西洋的价值和历史" -> "第十四章 18世纪的论战:美德、欲望和商业" will navigate to the begining of 第三部分 rather than 第十四章.

File B.zip

I have tested both 2 files on another ebook reader App Alexandria and I am sure the problem doesn't occur on Alexandria.

Expected behavior

Navigate to proper position.

Technical inputs

Operating System: Windows 11

Readest Version: 0.9.60 (Edge 137.0.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions