After some update, a change was made to KDE. When moving a maximized window, it resizes back to its original size.
Every time I move the window to the other monitor I have to enlarge (maximize) it. This is a nuisance. How can I move windows between monitors always maximized?
When you move a maximized window - it would always unmaximize. I don’t believe it was ever doing anything else. A maximized window has no borders and if you move it, it is no longer maximized and therefor must be redrawn with borders and what would - by definition - cause the window to be resized, as it otherwise would be larger than the screen, and the best way to handle that is to restore it to the original “unmaximized” size.
If you start by resizing the window to the size of the screen first (by pulling the border to the edge of the screen until they go no further), then maximize it, then moving it will restore it to the “almost maximized” size - is it possible that this is how you remember it working?
What you wrote in a way solves the problem, nevertheless with me I have always been able to drag maximized windows between screens. I guess after switching to Qt 6, it changed that I can’t do that anymore.
When you drag windows between screens, if you finish the drag by pushing the window against the top edge of the screen - the window will get maximized again.
This is what I do, though another thing that I find more useful - to move windows between screens but also generally - is to use the keyboard “Move Window Left”/“Move Window Right” shortcuts (set up under System Settings → Shortcuts → kwin). When you move a maximized window like that, it will jump maximized to the other screen - even if that screen has a different size or dimensions. These shortcuts are also useful for non-maximized windows.
Each of these options what you mention is a solution, nevertheless it is not as convenient as I had.
At my place I have a mosaic of many screens. When I moved the window between screens, not only were they always maximized, but I didn’t have to try to adjust to the screen. I just dropped the window on (let’s assume) the 4th screen and that was it.
I wanted to use your method. Actually the window doesn’t change its size when moving (that was the intended purpose), but instead I have to precisely fit the window to the screen; that is, I can’t drop it on the screen and I’m done.
Yes this is the solution, but only for the screens on top. I have two floors (mosaic) of screens. Of course, it works on the lower monitors, too, but I have to precisely drag the window to the top border of the screen, and that too by catching the window by the window bar. That is, I can’t just quickly move windows between screens (juggle them).
I understand that it is not a matter of settings, but simply “this type has it so”. Somehow I have to come to terms with it, it is a great inconvenience for me
I really think that you should use keyboard shortcuts to move maximized windows between screens - it will be much more convenient then trying to point at things with a mouse.
I am having a similar problem, and the suggested solution does not seem to help. In my case, i do not want to move the maximized window to another monitor but, e.g., to move part of it outside the screen. However, as soon as i move the window using ALT+left click, the window resizes. Quite annoying, and it definitely was not happening before KDE 6.
My maximized windows do have borders, so the argument presented above that KDE has to resize the window in order to add borders before moving does not seem applicable.
The only workaround that i have found is to manually resize the window after i move it. But then it remembers this new size when i switch toggle “maximize” later on, and so i have to resize it yet again to its original size… If there is a way to restore the old behavior, i would love to hear it.
[ Side comment: In older versions of KDE there used to be a setting to “Display borders on Maximized windows” (i wanted to post a link here but for some reason i am not allowed to do it). I could not find a similar option in KDE 6, but when i maximize a window it somehow keeps its border. I am not sure whether this is the only possible behavior these days or whether my old choice is now honored by some hidden setting. ]
Hi - I don’t do a whole lot of window movements like that, but for what it’s worth, the setting you’re referencing is located in System Settings > Colors & Themes > Window Decorations > Edit icon on the Breeze preview: