Created attachment 177347 [details] A PDF that exhibits the problem SUMMARY Loading the attached pdf in overview mode, and with it set at 4 columns/3 rows constantly oscillates between two sizes. I *think* it's deciding it doesn't need the scrollbar, removing it, resizing it, and then adding it back STEPS TO REPRODUCE 1. Load the attached pdf 2. select 'overview mode' OBSERVED RESULT The display constantly flips between two states: a) No vertical scrollbar and slightly larger pages b) A vertical scrollbar and slightly smaller pages EXPECTED RESULT Pick one and stay there! SOFTWARE/OS VERSIONS Linux running under XFCE desktop on Fedora 41XCB xfwm4-4.18.0-5.fc41.x86_64 Linux/KDE Plasma: KDE Plasma Version: Okular: 24.12.1 KDE Frameworks: 6.10.0 Qt: Using 6.8.1 and built against 6.8.1 Fedora Linux 41 (Forty One) (Xcb) Build ABI: x86_64-little_endian-lp64 Kernel: linux 6.12.8-200.fc41.x86_64 ADDITIONAL INFORMATION Okular rc: [Desktop Entry] FullScreen=false [General] LockSidebar=true ShowSidebar=true [MainWindow] 1920x1080 screen: Window-Maximized=true 2 screens: Height=2104 2 screens: Width=1912 2 screens: Window-Maximized=true 2 screens: XPosition=4 2 screens: YPosition=15 DVI-D-0 DisplayPort-0=DisplayPort-0 DVI-D-0 DisplayPort-0 Height 3840x2160=2104 DVI-D-0 DisplayPort-0 Width 3840x2160=1912 DVI-D-0 DisplayPort-0 Window-Maximized 3840x2160=true DVI-D-0 DisplayPort-0 XPosition 3840x2160=0 DVI-D-0 DisplayPort-0 YPosition 3840x2160=15 DVI-D-0 Height 1920x1080=1024 DVI-D-0 Width 1920x1080=1912 DVI-D-0 XPosition 1920x1080=0 DVI-D-0 YPosition 1920x1080=15 DisplayPort-0 DVI-D-0=DisplayPort-0 DisplayPort-0 DVI-D-0 Height 1080=2104 DisplayPort-0 DVI-D-0 Height 1920x1080=2104 DisplayPort-0 DVI-D-0 Height 1920x1080 DVI-D-0=2108 DisplayPort-0 DVI-D-0 Height 2160=2104 DisplayPort-0 DVI-D-0 Height 3840x2160=2104 DisplayPort-0 DVI-D-0 Height 3840x2160 DisplayPort-0=2104 DisplayPort-0 DVI-D-0 Width 1920=1912 DisplayPort-0 DVI-D-0 Width 1920x1080=1912 DisplayPort-0 DVI-D-0 Width 1920x1080 DVI-D-0=3840 DisplayPort-0 DVI-D-0 Width 3840=1912 DisplayPort-0 DVI-D-0 Width 3840x2160=1912 DisplayPort-0 DVI-D-0 Width 3840x2160 DisplayPort-0=1912 DisplayPort-0 DVI-D-0 Window-Maximized 1080x1920=true DisplayPort-0 DVI-D-0 Window-Maximized 1920x1080=true DisplayPort-0 DVI-D-0 Window-Maximized 1920x1080 DVI-D-0=true DisplayPort-0 DVI-D-0 Window-Maximized 2160x3840=true DisplayPort-0 DVI-D-0 Window-Maximized 3840x2160=true DisplayPort-0 DVI-D-0 Window-Maximized 3840x2160 DisplayPort-0=true DisplayPort-0 DVI-D-0 XPosition=0 DisplayPort-0 DVI-D-0 XPosition 1920x1080=3780 DisplayPort-0 DVI-D-0 XPosition 1920x1080 DVI-D-0=3385 DisplayPort-0 DVI-D-0 XPosition 3840x2160=1010 DisplayPort-0 DVI-D-0 XPosition 3840x2160 DisplayPort-0=67 DisplayPort-0 DVI-D-0 YPosition=15 DisplayPort-0 DVI-D-0 YPosition 1920x1080=1095 DisplayPort-0 DVI-D-0 YPosition 1920x1080 DVI-D-0=1095 DisplayPort-0 DVI-D-0 YPosition 3840x2160=363 DisplayPort-0 DVI-D-0 YPosition 3840x2160 DisplayPort-0=156 Height 1080=2108 Height 2160=2108 ToolBarsMovable=Disabled Width 1920=3840 Width 3840=3840 Window-Maximized 1080x1920=true Window-Maximized 2160x3840=true [Notification Messages] presentationInfo=false [Print Preview] 2 screens: Height=500 2 screens: Width=600 DisplayPort-0 DVI-D-0 Height 3840x2160=500 DisplayPort-0 DVI-D-0 Width 3840x2160=600
Created attachment 177348 [details] Okular in the state where the scroll bar isn't present
Created attachment 177349 [details] Okular in the state where the scroll bar is present
Hi - thanks for your bug report! I can reproduce this on Fedora KDE 41, using a 14-page PDF with Letter-sized portrait orientation pages, Overview mode set to 4 columns, and a very specific window size.
Interesting can not reproduce myself, here Okular always detects it's going to end up in a loop and you end up with a slightly ugly alignment but no looping, are you both using the breeze style?
(In reply to Albert Astals Cid from comment #4) > Interesting can not reproduce myself, here Okular always detects it's going > to end up in a loop and you end up with a slightly ugly alignment but no > looping, are you both using the breeze style? Yeh I believe so - that's what plasma shows in it's settings (although I'm running under xfwm4/xfce). For me the magic size happens to be the full screen on my 4k - but I guess that depends on the WM border settings. (It doesn't trigger on my 1920 monitor on the same session)
(In reply to Albert Astals Cid from comment #4) > Interesting can not reproduce myself, here Okular always detects it's going > to end up in a loop and you end up with a slightly ugly alignment but no > looping, are you both using the breeze style? Breeze style here, and on Fedora KDE 41 so mostly standard settings - my Window Decorations are set to a Large button size, I don't know if that would make a difference? 100% display scaling, fonts are all bumped up a couple of points (12pt instead of 10pt text mostly).