-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add window tiling support #105
Conversation
will this also disable rounded corners on tiled windows with a gap? because there it would be nice to keep it |
I am new to tiling windows. How would someone tile windows with a gap? Can you show me? |
It looks like polonium implements its own algorithm and modifications for tiling. Sadly, my only dependency (KWinEffect library) doesn't provide me with signals to monitor the tiling state. So I had to write my own algorithm to just detect the tiling situation on every window. This means with my algorithm, even if you just drag and move your windows in a way that they cover the width or height of the screen, it would be considered a tiled situation. I don't know how crazy it would be to check if the space between screen edges and windows are the same, it would also be considered a tiled situation... |
@lomenzel I am assuming that the gap is just one number that is used everywhere (horizontally, vertically, edges of screen, and between windows)? |
Yes |
That is perfect. If tiled with gaps the rounded corners are perfect and should stay |
@lomenzel I implemented the gap calculation but I can't test it. Can you test it for me? |
It works just fine all floating windows have round corners tiled ones not. 😁, Except for the toggle "disable roundness on Tile/maximize" it only affects the maximized but not the tiles ones, they always have no roundness regardless of the setting. |
I guess I can't run away from installing polonium on my computer to figure out what is hapenning. |
I thought polonium just uses the tiling feature of plasma itself. Pressing meta+t lets you make a layout and then drag the windows while holding shift into the tiling zone. In the meta+t screen you can also set the padding |
Fantastic! I didn't know that at all. Thanks for teaching me. |
8169528
to
3247967
Compare
Does this work? I have the main branch installed but do not see a difference |
@guzman109 It should work. Post an issue with screenshots and debug logs if it doesn't |
This new feature closes #104