https://bugs.kde.org/show_bug.cgi?id=489046
Bug ID: 489046 Summary: Cannot resize window height to less than 150px on Wayland Classification: Plasma Product: kwin Version: 6.1.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: benjarobin+...@gmail.com Target Milestone: --- SUMMARY Cannot resize Qt window height to less than 150px on Wayland even if the content of the Window is smaller. STEPS TO REPRODUCE 1. Build a very basic Qt application ``` #include <QApplication> #include <QWidget> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWidget w; w.resize(300, 50); w.setMinimumSize(300, 50); w.show(); return a.exec(); } ``` 2. Launch it. 3. Resize the window to increase height, then try to reduce height to original size OBSERVED RESULT The application when initially launched as the proper size (300x50). Then when trying to increase height a bit, the application size jump to 300x150. The application can be resized to something bigger than 300x150, but it cannot be resize back to an height of 50. It's as if the minimum window height was hard coded at 150. EXPECTED RESULT Declared minimum size in application code should be respected. The user should be able to reduce height up to the minimum declared size (in this case 50). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.9.5-arch1-1 (64-bit) Graphics Platform: Wayland Graphics Processor: Mesa IntelĀ® UHD Graphics Scaling: 100% ; Screen resolution: 1920x1080 ADDITIONAL INFORMATION If the application is launched under Weston, it can be resized correctly. But for the record, the minimum size is not respected (as if the minimum size were 0). If the application is run under Xorg, it can be resized correctly, and the minimum size is properly enforced. -- You are receiving this mail because: You are watching all bug changes.