desktop_window
desktop_window copied to clipboard
Set Max and Min window size not work in the same time on linux
setting maximum and minimum window size is not working in the same time on linux I am using KDE Plasma 5 as my desktop environment
only the first used method works
e.g.
if I used DesktopWindow.setMaxWindowSize(size);
then DesktopWindow.setMinWindowSize(size);
only maximum size works
please add a (minimal) project as a example to reproduce your issue
This is an example
and the result is the window max size is 600x600 while the minimum size should be 400x400 but it reaches less than that without limit
and if you switched the two lines of code DesktopWindow.setMaxWindowSize(size);
and DesktopWindow.setMinWindowSize(size);
an example
the result is minimum window size is 400x400 while the maximum window size should be 600x600 but it reaches greater than that without limit
same here. as @Davenchy described.
same here