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

Respect minimum size of a window #147

Open
Qwyntex opened this issue Apr 7, 2024 · 9 comments
Open

Respect minimum size of a window #147

Qwyntex opened this issue Apr 7, 2024 · 9 comments
Labels
bug Something isn't working needs log I assume you forgot?

Comments

@Qwyntex
Copy link

Qwyntex commented Apr 7, 2024

Windows like KDE Settings have a minimum size that in some cases are bigger than the size of the tile (eg. KDE System Settings on a 100% scaled 1920x1080 monitor with BTree Tiling with two other open windows). In those cases the window kind of awkwardly extends over the other windows. It'd be great if either the tile would respect the minimum size of the window or the windows' size would be forced to fit inside the tile (a toggle in the settings?). When the tiling updates the window that doesn't fit currently gets put into floating mode. If there is no way for the windows to fit that is probably the ideal behavior but it is a little annoying when I can just manually resize the tiles to fit the minimum size and have it working again (especially since resizing other windows will update the tiling and I have to retile the window again).

I love the Project otherwise and am currently configuring my system around. Thank you!

@Qwyntex Qwyntex added the enhancement New feature or request label Apr 7, 2024
@djneba
Copy link

djneba commented Apr 8, 2024

This one: https://github.com/lingtjien/Grid-Tiling-Kwin has this feature and is cofigurable with a couple of cool other options. Unfortulately it is not stable enough for me to use on a daily basis. I also noticed someone made a fork of Krohnkite for plasma 6, but is unstable as well, and needs work. Would be cool if someone made a configurable hybrid of all three.

@zeroxoneafour
Copy link
Owner

There is a system in place to prevent this. Can you provide a log?

@zeroxoneafour zeroxoneafour added bug Something isn't working needs log I assume you forgot? and removed enhancement New feature or request labels Apr 8, 2024
@Qwyntex
Copy link
Author

Qwyntex commented Apr 9, 2024

Full log at https://pastebin.com/5vua6H1G

I have created a couple windows and moved a couple windows around, both times with a window that works (konsole) and one that doesn't (system settings). I also removed konsole at one point.
I hope this provides enough information

There is a system in place to prevent this

Has this been added after the last release? I have downloaded the script through the KDE-Store and not from github. nvm, I am using the latest release on github

@zeroxoneafour
Copy link
Owner

You are using the latest build from the latest commit on github actions right?

@Qwyntex
Copy link
Author

Qwyntex commented Apr 9, 2024

I am using the Development build in the releases

@zeroxoneafour
Copy link
Owner

All of the resizing layout debug messages have been removed in the latest build. It has been brought to my attention that sometimes KDE refuses to update the script if you try to install it without uninstalling first due to version conflicts. If you can, try building the project yourself with make (which will usually install it successfully)

@Qwyntex
Copy link
Author

Qwyntex commented Apr 19, 2024

I have cloned the master branch and then, after uninstalling, built it with make. This solved the issue of having the too big window put in floating mode. However it still doesn't fix it overlapping with other windows
image

But good to know that KDE sometimes doesn't like reinstalling scripts

@czhunor
Copy link

czhunor commented Jun 19, 2024

You can solve this problem by adding a Window rule, which sets for all Normal Window types the Minimun Size to 1x1 Pixel.
image

@Qwyntex
Copy link
Author

Qwyntex commented Aug 10, 2024

Hey, just wanted to check up on if there's been any development on this issue. I don't know when it happened but the settings are now being resized (Maybe Plasma removed the minimum size for the settings at some point). The issue persists with other windows though.

Let me know if I can help somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs log I assume you forgot?
Projects
None yet
Development

No branches or pull requests

4 participants