https://bugs.kde.org/show_bug.cgi?id=428031
Bug ID: 428031 Summary: Okular uses the most recent window dimensions without regard to document dimensions Product: okular Version: 1.11.1 Platform: Debian testing OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: gszymas...@short.pl Target Milestone: --- SUMMARY When you open a document in Okular, its window has the same dimensions as the most recently resized (or maximized) Okular window. This may be inconvenient if you switch between documents of very different sizes. For example, you may want a presentation/map/photo to fill most of your screen, while a text document would be easily readable taking less than half of screen width. Another example: you may want to read some documents with the sidebar enabled (and make the window wider) and others without the sidebar (now the window is too wide). The difference is even bigger when View→Trim View→Trim Margins is enabled, as presentations/maps/photos often have relatively small margins. STEPS TO REPRODUCE 1. Download <http://download.ros.org/downloads/ROScheatsheet.pdf>. 2. Open the file in Okular and resize it so that those tiny letters are readable (make it 1500 px wide). 3. Download the KDE Frameworks Cookbook (PDF): <https://share.kde.org/s/jqpMS4gPs3HoxLN>. 4. Open the file in Okular. OBSERVED RESULT The second Okular window is too wide, the letters are too big. EXPECTED RESULT (a) Okular does not remember window dimensions at all. For example, it can simply fit the window size to the opened document width, with respect to document’s resolution. That’s how mupdf 1.17 and gv 3.7.4 seem to work. (b) Okular fits the window size to the document width (like above). If the window is resized, Okular remembers the new dimensions and uses them the next time this document is opened, like it already does with zoom levels (see ~/.local/share/okular/docdata/). SOFTWARE/OS VERSIONS KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 Reproducible under <https://files.kde.org/neon/images/testing/20201006-1820/neon-testing-20201006-1820.iso>. -- You are receiving this mail because: You are watching all bug changes.