Currently, we can only move windows to the next and previous screens. It would be nice if we could move windows based on screen positions.
You can pretty much do this with window tiling shortcuts. For example hit Meta+Left Arrow 2 or 3 times and the window will be tiled to the screen to the left of the current one. Is that good enough for your use cases?
Meta with one of the arrow keys is "Quick Tile Window" for me. I think I found a more important bug here. I have 2 screens and when I put them next to each other (one on the left and one on the right), the "Quick Tile Window" works fine and moves the window to the next screen If I hit it more than 1 time. But when I put the screens below each other, this tiling doesn't work anymore, the window is a tiling only on the current screen and it won't move to the next one. Apart from this, It would be nice to have the functionality of moving the window to other screens based on their positions, I don't use tiling at all and I'm using these shortcuts for something else normally. There are similar features in other window managers, and I was kinda surprised when I couldn't find this in KDE. Maybe if there is a fix for the bug that I mentioned above, I can write a script to do what I want for now. Should I fill in another bug report for this tiling bug? (In reply to Nate Graham from comment #1) > You can pretty much do this with window tiling shortcuts. For example hit > Meta+Left Arrow 2 or 3 times and the window will be tiled to the screen to > the left of the current one. Is that good enough for your use cases?
OK, thanks. Make sure to file a new bug report if you find a new/different issue. :)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3255
Git commit 084b88522c7ce751a07472c5f72217b23c02a056 by Vlad Zahorodnii, on behalf of Natalie Clarius. Committed on 08/12/2022 at 18:59. Pushed by vladz into branch 'master'. workspace: get output in direction relative from reference Related: bug 451286 M +0 -14 src/useractions.cpp M +54 -0 src/workspace.cpp M +10 -2 src/workspace.h https://invent.kde.org/plasma/kwin/commit/084b88522c7ce751a07472c5f72217b23c02a056
Git commit 67c558286f18ee639893eee82c27b98fae5797d9 by Vlad Zahorodnii, on behalf of Natalie Clarius. Committed on 08/12/2022 at 18:59. Pushed by vladz into branch 'master'. useractions: add shortcuts for {switch to/window to} screen {direction} M +14 -2 src/scripting/workspace_wrapper.cpp M +11 -0 src/scripting/workspace_wrapper.h M +85 -13 src/useractions.cpp M +10 -8 src/workspace.h https://invent.kde.org/plasma/kwin/commit/67c558286f18ee639893eee82c27b98fae5797d9