Created attachment 168065 [details] Sidebar size upon opening SUMMARY The size of the sidebar will not save. STEPS TO REPRODUCE 1. Open PDF in Okular 2. Resize sidebar 3. Close Okular 4. Reopen PDF in Okular OBSERVED RESULT Sidebar retains size before closing EXPECTED RESULT Sidebar shrinks to fit the title "Sidebar" SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.2-zen2-1-zen (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION The visibility of the sidebar has intermittent issues which may be related. Starting Okular with no document, then opening results in the sidebar being invisible. It must be hidden then shown in order to display. Last known good version was 24.01.80, which used Qt5.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/975
Git commit 460a5c112c8d6bee2ba79587596a4c367ba0d420 by Albert Astals Cid. Committed on 23/04/2024 at 09:11. Pushed by aacid into branch 'master'. Fix sidebar status not being respected when opening the first file M +1 -1 shell/shell.cpp https://invent.kde.org/graphics/okular/-/commit/460a5c112c8d6bee2ba79587596a4c367ba0d420
Git commit db0742006aa2ed6e4994aafad205fdf716575dcf by Albert Astals Cid. Committed on 23/04/2024 at 11:21. Pushed by aacid into branch 'release/24.05'. Fix sidebar status not being respected when opening the first file (cherry picked from commit 460a5c112c8d6bee2ba79587596a4c367ba0d420) M +1 -1 shell/shell.cpp https://invent.kde.org/graphics/okular/-/commit/db0742006aa2ed6e4994aafad205fdf716575dcf
*** Bug 486186 has been marked as a duplicate of this bug. ***