Bug 483758

Summary: Add ability to lock tiling layout
Product: [Plasma] kwin Reporter: Jonathan Isom <jeisom>
Component: Custom TilingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde, mobile.harvey, nate, notmart, postix
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=465937
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Isom 2024-03-16 13:01:18 UTC
SUMMARY
I have been accidently resizing windows that are tiled and that changes my tiling layout.  I'd like it locked so even if I resize a window I can just put the window back by moving it with the modifier key.


STEPS TO REPRODUCE
1. Put a window in a tile
2. Drag a side of a window
3. Tile layout is now different

OBSERVED RESULT
Layout is changed

EXPECTED RESULT
Layout is not changed

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.10-273-tkg-linux-tkg (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2
Product Name: X570M Pro4
Comment 1 Nick 2024-03-23 09:58:23 UTC
Sounds like a useful feature to me. Marking as 'confirmed' for review as a new feature.
Comment 2 Bug Janitor Service 2024-04-26 18:44:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5665
Comment 3 Nate Graham 2024-08-22 13:11:28 UTC
The merge request was rejected, so it looks like this feature is not wanted by KWin's developers. Sorry, folks!
Comment 4 Jonathan Isom 2024-08-22 13:26:59 UTC
I feel that a misunderstanding of the request. My request was for the tile layout "template" not be edited by resizing windows in the layouts.  Being able to resize the windows is fine and expected behavior, but shouldn't edit the template as it currently does. 

So I could have a template for 2 windows 50%/50% and put 2 windows onscreen using it.  I could then resize it to 75/25, but the template wouldn't change and additionally not on other desktops. Currently if you have windows on multiple desktops they also change to the 75/25 in this scenario.
Comment 5 Nate Graham 2024-08-30 23:41:22 UTC
Decoupling the window size from the tile size while keeping the window tiled is technically problematic, I'm afraid.