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

Kavita does not correctly display the index or images for the "Python Crash Course A Hands-On, Project-Based Introduction to Programming 3rd Edition" epub. #2341

Open
delaviux opened this issue Oct 21, 2023 · 4 comments · Fixed by #2989
Labels
bug Something isn't working dependencies Pull requests that update a dependency file UI Primarily UI impacting

Comments

@delaviux
Copy link

delaviux commented Oct 21, 2023

As my title says, Kavita does not correctly display a certain epub. The index shows it as a long open list and some images embedded in the epub are shown above the text, blocking its reading.
I'll upload some screenshots so you can see what I'm talking about.
Screenshot_2023-10-21-18-11-07-438_copia vivaldi_9vyCwWy9EQ

The index displayed correctly with Calibre Windows.
ebook-viewer_T1xfv3iCxC

The image displayed correctly using android apps on a Lenovo tablet, the first image corresponds to Librera and the second to Lithium.
Screenshot_20231021-223936
Screenshot_20231021-224049

@delaviux delaviux added the needs-triage Needs to be triaged by a developer and assigned a release label Oct 21, 2023
@delaviux delaviux changed the title Kovs does not correctly display the index or images for the "Python Crash Course A Hands-On, Project-Based Introduction to Programming 3rd Edition" epub. Kavita does not correctly display the index or images for the "Python Crash Course A Hands-On, Project-Based Introduction to Programming 3rd Edition" epub. Oct 21, 2023
@majora2007
Copy link
Member

Would you please include that screenshot of the other app, which is the expected, so I can see how they might have done it.

@delaviux
Copy link
Author

Sure. I just edited my first post.

@majora2007
Copy link
Member

For the broken rendering, it's interesting because built-in styles seems to be breaking it:
image

I even disabled Kavita's styles it puts on images to ensure they don't overflow the window and the issue still persists. I'm curious why it doesn't break on other readers.

For the nav issue, I will need to do a deeper dive.
vers-one/EpubReader#106

@majora2007 majora2007 added bug Something isn't working and removed needs-triage Needs to be triaged by a developer and assigned a release labels Oct 22, 2023
@majora2007 majora2007 added the UI Primarily UI impacting label Oct 24, 2023
@majora2007 majora2007 added the dependencies Pull requests that update a dependency file label Nov 9, 2023
@delaviux
Copy link
Author

Hi, the table of contents is still not displayed correctly in the book with kavita v0.8.2. Perhaps this is something that needs further analysis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file UI Primarily UI impacting
Projects
Development

Successfully merging a pull request may close this issue.

2 participants