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

Changing ePub layout from “paginated” to “scroll” still keeps page breaks #1842

Open
5 tasks done
zhen-huan-hu opened this issue Jan 22, 2025 · 6 comments
Open
5 tasks done
Labels
cannot reproduce The situation cannot be reproduced by the developers reader:epub Needs work in the EPUB reader

Comments

@zhen-huan-hu
Copy link

Steps to reproduce

Open an ePub file in Komga on iPhone. Change the layout from “paginated” to “scroll”.

Expected behavior

Texts from the same paragraph will be placed together with the same line space in-between.

Actual behavior

Page breaks from the “paginated” layout remain even for texts from the same paragraph.

Image

Logs

No response

Komga version

1.18.0

Operating system

Ubuntu Server 22.04.5

Installation method

Docker

Other details

No response

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@gotson gotson added reader:epub Needs work in the EPUB reader and removed triage labels Jan 22, 2025
@gotson
Copy link
Owner

gotson commented Jan 22, 2025

I don't quite understand the issue, would you be able to provide more information, or maybe a video of the screen showing the problem ?

@zhen-huan-hu
Copy link
Author

I don't quite understand the issue, would you be able to provide more information, or maybe a video of the screen showing the problem ?

The texts below and above the highlighted gap are from the same paragraph. They were split into two pages in the paginated layout. After switching to the scrolling layout, there is a gap left separating the texts. Reopening the file with scrolling layout the gap disappears. I checked a few other files and saw the same issue.

trim.E2AEE96E-9D60-4172-B0DE-A79FBC54CECE.MOV

@gotson gotson added the dependencies Related to project dependencies label Jan 23, 2025
@gotson
Copy link
Owner

gotson commented Jan 23, 2025

Can you provide the book ?

@zhen-huan-hu
Copy link
Author

Here you go.

Learning Python, 5th Edition (2013) - Mark Lutz.zip

Some other books I checked also exhibit the issue

@gotson
Copy link
Owner

gotson commented Jan 27, 2025

tried with your book and cannot reproduce

@gotson gotson added the cannot reproduce The situation cannot be reproduced by the developers label Jan 27, 2025
@gotson gotson removed the dependencies Related to project dependencies label Jan 28, 2025
@zhen-huan-hu
Copy link
Author

tried with your book and cannot reproduce

It only happens on iOS. And not just for this book.

trim.3B726937-E00C-4CA7-A3CD-C0E6A2DCF982.MOV

Here you can see the extra gap between 'but this time he nodded to her,' and 'the nod one gives an equal'.

If I switch to another app and then switch back, the gap disappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce The situation cannot be reproduced by the developers reader:epub Needs work in the EPUB reader
Projects
None yet
Development

No branches or pull requests

2 participants