Bug 466019

Summary: Allow saving tiling layouts/settings
Product: [Plasma] kwin Reporter: Jeff Beale <bealebodyworks>
Component: Custom TilingAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: ajbtz74o, almazgaliev99, anditosan1000, d.ber.ff, eric1, everyone, godlike64, hey, jsardid, juliohm, kdebugsquasher, kv3f5ves, lzz, nate, nortexoid, notmart, postix, s00ner, sam.fb3a1, tristanwhaley
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=466031
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeff Beale 2023-02-18 18:03:29 UTC
When modifying a tiling layout, it does not save changes to your tiling layout forcing users to recreate that layout from scratch. A couple different approaches, bot useful that could help with this would be:
- Associating layouts with activities or virtual desktops
- Allowing users to add layouts to the tiling layouts via META+T shortcut

Thanks for all the hard work that went into this release, and I am excited for Plasma 6!
Comment 1 Michael D 2023-03-02 13:52:14 UTC
Would be very nice to be able to save layouts. I'm not sure how the previews work when loading a layout, but if they are not generated from the layout data, a generic button with the layout name could be used instead.
Comment 2 Andres Betts 2023-03-11 02:39:14 UTC
+1
Comment 3 lzz 2023-03-20 14:34:03 UTC
(In reply to Jeff Beale from comment #0)
> When modifying a tiling layout, it does not save changes to your tiling
> layout forcing users to recreate that layout from scratch. A couple
> different approaches, bot useful that could help with this would be:
> - Associating layouts with activities or virtual desktops
> - Allowing users to add layouts to the tiling layouts via META+T shortcut
> 
> Thanks for all the hard work that went into this release, and I am excited
> for Plasma 6!

Currently, as a workaround, I manually edit the [Tiling] part of the ~/.config/kwinrc file.

I manually created a json with my tiling preferences and saved it to another file. Every time I lose my tiling (for example, if I disconnect my monitor), I rewrite the kwinrc file with the string I saved to my backup file, log out and log back in.

It's not ideal, but it's the best way I found, for now.
Comment 4 Almaz 2023-04-24 03:33:09 UTC
+1
Comment 5 s00ner 2023-08-04 14:04:40 UTC
I would also like this feature and it would align with how Power Toys works in Windows. As a user with an ultra-wide monitor, I rely on tiling to keeps my windows in a clean layout but I frequently change the layout depending on the work I'm doing. Quickly switching between custom layouts is an obvious missing feature of tiling system.
Comment 6 Iizuki 2024-05-29 06:46:04 UTC
I think that implicitly saving the layout per activity / virtual desktop would be the way to go.