Skip to content

Book reader Table of Contents loses active section #3473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KobraKid opened this issue Dec 26, 2024 · 0 comments · Fixed by #3675
Closed

Book reader Table of Contents loses active section #3473

KobraKid opened this issue Dec 26, 2024 · 0 comments · Fixed by #3675
Labels
bug Something isn't working EPUB EPUB Related UI Primarily UI impacting

Comments

@KobraKid
Copy link

What happened?

I have an EPUB which has a TOC like the following:

<navMap>
  ...
  <navPoint>
    <text>Chapter 1</text>
    <content src="Text/section-0013.html"/>
  </navPoint>
  <navPoint>
    <text>Chapter 2</text>
    <content src="Text/section-0020.html"/>
  </navPoint>
  ...
</navMap>

However, the EPUB has files for section-0014.html, section-0015.html, etc.

In Calibre, the TOC keeps "Chapter 1" highlighted while I'm in any of section-0013.html through section-0019.html. But in Kavita, as soon as I scroll past section-0013.html there is no "active" chapter in the TOC until I reach section-0020.html.

image

image
In the screenshots, you can see that when on the last page of section 11, the first chapter of the book is bolded in the TOC. But on the first page of section 12, there is no longer a bolded section in the TOC. It's not until I reach section 22 that the next chapter is bolded in the TOC.

What did you expect?

I would expect Kavita to keep the title of chapter 1 bolded until I reached the beginning of chapter 2. I don't think there should be a case where there is no active chapter.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.4.2 - Stable

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

Windows

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Firefox

If the issue is being seen on Mobile, what OS are you running where you see the issue?

Android

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

Firefox

Relevant log output

No response

Additional Notes

No response

@KobraKid KobraKid added the needs-triage Needs to be triaged by a developer and assigned a release label Dec 26, 2024
@majora2007 majora2007 moved this to In Progress in v0.8.6 - Bugfixing & Polish Mar 25, 2025
@majora2007 majora2007 moved this from In Progress to Done, Not Pushed in v0.8.6 - Bugfixing & Polish Mar 25, 2025
@majora2007 majora2007 added bug Something isn't working UI Primarily UI impacting EPUB EPUB Related and removed needs-triage Needs to be triaged by a developer and assigned a release labels Mar 25, 2025
@github-project-automation github-project-automation bot moved this from Done, Not Pushed to Done in v0.8.6 - Bugfixing & Polish Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EPUB EPUB Related UI Primarily UI impacting
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants