Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Davenchy opened this issue Jul 6, 2021 · 4 comments
Open

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

Davenchy opened this issue Jul 6, 2021 · 4 comments

Comments

@Davenchy
Copy link

Davenchy commented Jul 6, 2021

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

@JustusFluegel
Copy link
Contributor

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

@Davenchy
Copy link
Author

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

@HedgeHao
Copy link

HedgeHao commented Jan 7, 2022

same here. as @Davenchy described.

@vinaooo
Copy link

vinaooo commented Mar 22, 2023

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants