desktop_window icon indicating copy to clipboard operation
desktop_window copied to clipboard

Set Max and Min window size not work in the same time on linux

Open Davenchy opened this issue 2 years ago • 4 comments

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

Davenchy avatar Jul 06 '21 05:07 Davenchy

please add a (minimal) project as a example to reproduce your issue

JustusFluegel avatar Jul 07 '21 15:07 JustusFluegel

This is an example

code

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

code2

the result is minimum window size is 400x400 while the maximum window size should be 600x600 but it reaches greater than that without limit

Davenchy avatar Jul 13 '21 13:07 Davenchy

same here. as @Davenchy described.

HedgeHao avatar Jan 07 '22 02:01 HedgeHao

same here

vinaooo avatar Mar 22 '23 15:03 vinaooo