Describe the bug
After chapter transitions, the layout is always initially wrong if the zoom level had previously been changed from the default.
A second zoom action forces a correct reflow/pagination.
To Reproduce
Steps to reproduce the behavior:
- Open a book in paginated mode
- Increase zoom level using Ctrl+
- Move to the next chapter
- The new chapter is rendered with incorrect margins / text wrapping
- Text may be clipped at the right edge
- Press Ctrl- and then Ctrl+ again
- Layout immediately becomes correct
Expected behavior
Chapter transitions should preserve correct layout and pagination even after zoom changes.
This looks like the initial layout/reflow after chapter load does not fully respect the current zoom state until another zoom event invalidates the layout.
Screenshots
Version:
- Foliate version: 3.3.0
- OS/Distribution and version: Pop!_OS 22.04 LTS
- Desktop environment: GNOME 42.9
- Installation method: Flatpak
Additional context
pop os still uses X11, that may be the culprit here...
Describe the bug
After chapter transitions, the layout is always initially wrong if the zoom level had previously been changed from the default.
A second zoom action forces a correct reflow/pagination.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Chapter transitions should preserve correct layout and pagination even after zoom changes.
This looks like the initial layout/reflow after chapter load does not fully respect the current zoom state until another zoom event invalidates the layout.
Screenshots
Version:
Additional context
pop os still uses X11, that may be the culprit here...