Bug 495017 - Resizing a tiled window should not affect layout
Summary: Resizing a tiled window should not affect layout
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: Custom Tiling (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-19 00:48 UTC by Andrew Udvare
Modified: 2025-08-03 19:36 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2024-10-19 00:48:58 UTC
SUMMARY

It is very easy to resize a tiled window and not realise that you are actually changing the tile layout. I honestly did not suspect that resizing a window in a tile would change the layout. I thought it would move the window out of the tile.

An option like 'Lock tile layout' would be best if people like the current behaviour. I for sure like to have my settings set and not changed in a surprising way.

STEPS TO REPRODUCE
1. Enable tiling (is this an option anymore? It is no longer in Desktop Effects)
2. Set up a layout
3. Place a window in layout
4. Resize window

OBSERVED RESULT
Tile layout changes with window resize.

EXPECTED RESULT
Window should be resized but the tile layout should stay the same. Other tiled windows should stay in place.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 1
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-gentoo-limelight (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i9-11900K @ 3.50GHz
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 rafalb85 2024-10-19 10:07:56 UTC
Yes this 100%. +1 from me. The layout should stay as it was set-up with the tile editor and should not change when you resize a window. Or there  should be at least an option to lock it.
Comment 2 Nate Graham 2024-12-12 20:17:06 UTC
If resizing a tiled window didn't change the layout, it would have to logically un-tile the window. So I see three options here:
1. Allow tiled windows to change the layout (status quo)
2. Don't allow tiled windows to be resized at all
3. When resizing a tiled window, un-tile it
Comment 3 Andrew Udvare 2024-12-13 08:21:28 UTC
I like the idea of an option for #2, and keeping the status quo otherwise. When option #2 is on, holding shift should be required to remove the window from the tile.

Additionally, maybe an alternative is to require holding shift to resize the window and the tile at once.
Comment 4 lzz 2025-07-26 07:41:02 UTC
I'd like to ask for this same feature.

I've been using KDE tiling system since it got introduced. I use a 4K 48" TV as a monitor (effectively works as four 1080p monitors, since the dpi is close enough), but I really need window tiling for this.

One of the things that bugs me the most is resizing a tiled window by accident. Every time it happens I need to manually edit `~/.config/kwinrc` `[Tiling]` section in order to recover my previous setting, and then logout and login again.

I like option #3 the most (un-tile the window) but option #2 is also good.
Comment 5 i 2025-08-01 09:12:24 UTC
Removing the window from being tiled makes more sense to me - or revert the size of the tile back to what it was when the windows is un-tiled, rather than making any window resizing be a permanent change to the tile sizes.
Comment 6 samuro.ua 2025-08-03 19:36:42 UTC
Yes, option #3 please. Un-tile the window from layout on resize, but let it be at the same place and size, except that side that being resized