You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For some reason, Foliate displays multiple empty pages in between the Titlepage and Imprint of Standard Ebook titles, in all available ebook formats.
To Reproduce
Open any SE epub with Foliate (for example, this one).
Starting at the Titlepage, naviagate through the ebook's pages using the arrow keys.
Change pages (press forward on your arrow keys) about 10-24 times (depending on your Foliate window size).
Arrive at the Imprint after all those key presses.
Note: Also works when changing pages with mouse clicks, but is much more tedious since clicks need to be spaced out.
Expected behavior
Arrive at the Imprint from the Titlepage in a single click/key-press. This works properly in all other ebook app/readers I've tested (though, not exhaustively).
Version:
Foliate version: 2.6.4
OS/Distribution and version: Fedora 36
Desktop environment: Gnome 42
Installation method: Native rpm from Fedora repos.
The text was updated successfully, but these errors were encountered:
So apparently they changed the titlepage and added invisible elements with font size set to zero, and it does work. The problem is that Foliate tries to force the user's preferred font size on all p elements. So the font size of the p in the titlepage is no longer zero.
The best solution would probably be to stop forcing font size on p, which already breaks too many books, anyway. At least we should probably try to lower the specificity.
And maybe this could be fixed in Epub.js as well, because I think it's using the width returned by .getBoundingClientRect(). Perhaps the bug could be fixed if one could account for negative overflows when calculating the width.
Describe the bug
For some reason, Foliate displays multiple empty pages in between the Titlepage and Imprint of Standard Ebook titles, in all available ebook formats.
To Reproduce
Note: Also works when changing pages with mouse clicks, but is much more tedious since clicks need to be spaced out.
Expected behavior
Arrive at the Imprint from the Titlepage in a single click/key-press. This works properly in all other ebook app/readers I've tested (though, not exhaustively).
Version:
The text was updated successfully, but these errors were encountered: