This bug happens with Okular installed as snap on Xubuntu 22.04.5 LTS. SUMMARY Okular's window is taller than the available space for it. Therefore parts of the document are below the lower edge of my screen. When I try to resize Okular's window, I cant do it. When I use the mouse to resize it with the edges, the right angle tool for it is shown. The horizontal component of my resizing operation is honored, but the vertical one isn't. However, the corner-symbol follows my mouse movements confined to the (selected right or left) window boundary: The vertical resizing does not happen, the horizontal component does. I never succeeded to select the window resizing tool at the top window edge. It always becomes the window moving tool and I don't succeed to move the window to more than the lower boundary of my Task bar (which I always have on top of the screen). Minimizing and resizing or maximizing does not help. Since parts of the document can not be shown, I consider this bug to be more severe than normal (although Okular does not crash). STEPS TO REPRODUCE 1. Open a pdf file with two pages in Okular. 2. Try to resize Okular's Window height with the tool at the left upper corner => only horizontal component is taken. 3. Try to resize its Window height with the edge tool at the upper edge => This tool is not available, only window movement with the title bar. 4. Try to resize its Window height with the tool at the right upper corner => only horizontal component is taken. 5. Try to navigate with the arrow-up/down or with Page up/down: It won't take you to the very bottom of the document! OBSERVED RESULT Window height can't be reduced. Part of the document can't be seen. EXPECTED RESULT Window size following mouse resizing by corner tools in case 2 and 4 also in the vertical direction. Edge resizing tool appear in case 3 and be functional there. Being able to view all the document (doing it with the scrolling - elevator does not work because I can't move it to the very bottom on a 2 paged document). SOFTWARE/OS VERSIONS Xubuntu 20.4.5 LTS Qt Version: 5 ADDITIONAL INFORMATION
Some additional information: If I change the dpi resolution of the screen to some lower (but for my screen not correct) value using xfce4-appearance settings, most things on the screen become smaller, also the window of Okular. Then the normal corner and edge resizing tools of the window could be used to reduce the height, but only to some minimum value depending on the set dpi value. In the case of my screen, 142 dpi would be the correct value. If I reduce the value to 96 dpi, I can reduce the window height of Okular down to 893 pixel but not less (according to xwinfo). In this situation. For other screen dpi values, the minimum sizes are as follows: 95 dpi and below, 889 px 96 dpi, 893 px 100 dpi, 930 px 105 dpi, 977 px 110 dpi, 1023 px 115 dpi, 1070 px 120 dpi, 1116 px 125 dpi, 1163 px 130 dpi, 1209 px 135 dpi, 1256 px 140 dpi, 1302 px 145 dpi, 1349 px 200 dpi, 1860 px A good fit for these observations seems to be 0.395 + 9.299*dpi. I hope this will give a hint to localize the bug.
24.08.2 is not based on Qt5, so you are not using 24.08.2 or you are not using Qt5. Can you please give us accurate version information about okular?
(In reply to Albert Astals Cid from comment #2) > 24.08.2 is not based on Qt5, so you are not using 24.08.2 or you are not > using Qt5. > > Can you please give us accurate version information about okular? Excuse me, I have no Idea how I could get the version wrong. In deed, it is: $ snap list | grep okular okular 24.12.0 161 latest/stable kde** - $ Because it is installed as a snap, it is started from the start menu like this: env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/okular_okular.desktop /snap/bin/okular %U But when I ask for the version by calling it from the command line like this: $ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/okular_okular.desktop /snap/bin/okular --version ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. /home/a/snap/okular/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/a/snap/okular/common/.cache/gio-modules/libgiognomeproxy.so /home/a/snap/okular/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/a/snap/okular/common/.cache/gio-modules/libgiolibproxy.so /home/a/snap/okular/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory Failed to load module: /home/a/snap/okular/common/.cache/gio-modules/libgiognutls.so /home/a/snap/okular/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory Failed to load module: /home/a/snap/okular/common/.cache/gio-modules/libgioenvironmentproxy.so /home/a/snap/okular/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory Failed to load module: /home/a/snap/okular/common/.cache/gio-modules/libdconfsettings.so Qt: Session management error: Could not open network socket okular 24.12.0 $ I get some error messages. I have no Idea if this has an influence on the behavior. Is the installation incomplete?