Skip to content
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

Book reader Table of Contents loses active section #3473

Open
KobraKid opened this issue Dec 26, 2024 · 0 comments
Open

Book reader Table of Contents loses active section #3473

KobraKid opened this issue Dec 26, 2024 · 0 comments
Labels
needs-triage Needs to be triaged by a developer and assigned a release

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
None yet
Development

No branches or pull requests

1 participant