zeroxoneafour / kwin-autotile

Autotile script for kwin
https://store.kde.org/p/2003956
MIT License
43 stars 1 forks source link

The wrong place for new windows to appear #7

Closed farline99 closed 1 year ago

farline99 commented 1 year ago

before script :D Thank you for this script. I missed auto tiling so much after upgrading to wayland-awesome 5.27. It's a pity that Bismuth died. You are my personal hero ❤️

Screenshot_20230322_192635

I think that first new window has to appear at full screen, second on zone 1, and third window should appear also on zone one, but two first windows should be placed on zones 3 (first) and zones 2 (second) accordingly. Instead, what I see is first window is full screen, second window at zone 1, and third window at zone 3. I think that all new windows should appear at master zone 1 and other windows should move in order from bottom to top. I hope I explained it clearly 😁

zeroxoneafour commented 1 year ago

The script is not able to do this efficiently because it uses a breadth-first search method to look for splittable tiles. If inserting a tile right now could be done in x speed, using this method would shift all the tiles and make it at least x^2 times more inefficient. Another limitation of just being a script on top of a tiling feature not intended for autotiling.

zeroxoneafour commented 1 year ago

Try using the "Invert Insertion" option and see if it makes your experience slightly better.

farline99 commented 1 year ago

Invert option does not make experience better, sadly. But if it is due to technical reasons, then ok ❤️😍