Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.8.3
-
None
-
Arch Linux:
linux 6.13.8.arch1-1
gcc 14.2.1+r753+g1cd744a6828f-1
qt6-base 6.8.3-1
plasma-desktop 6.3.3-1
wayland 1.23.1-1
Description
I cannot resize a window to its reported minimum height on Wayland, but I can do that on X11 (using the xcb plugin). I observe this bug with QMainWindow with a single QLabel or QPushButton set as its central widget (see the attachment).
Expected: When I drag the mouse to reduce the window size, the window allows me to do that until its minimum size (height) is reached.
Observed: When I drag the mouse to reduce the window size, the actual minimum size that I can resize to is greater that its reported minimum size (value of property minimumSize).
Steps to reproduce:
- Compile attached main.cc (using CMakeLists.txt).
- If you run with QT_QPA_PLATFORM=xcb, you can resize the window to its reported minimum height.
- if you run with QT_QPA_PLATFORM=wayland, you cannot resize it to the reported minimum height.