shell icon indicating copy to clipboard operation
shell copied to clipboard

Feature Request: tiled windows within stacked?

Open peey opened this issue 5 years ago • 5 comments

I understand that the current tiled stacking mode lets you create stacks within a tile.

e.g. if X|Y is X and Y tiled and X/Y is X and Y stacked, then you can have A/C tiled with B/D (2 windows on the left, 2 on the right)

But you can't have A|B stacked with C|D (and these two may have different tiling, say 30% A and 70% B vs 60% C and 40% D)

I'd previously opened up a related issue at an earlier time but was unsure if it really added value: https://github.com/pop-os/shell/issues/273

But I think it does. Essentially, you might want to have two window groups on the same workspace with different tiling layouts. In pop-shell, if you can "stack" these window groups, then that'd be great.

I think the limitation comes from pop-shell having only one top level fork for tiling, and it has a special designation. Another issue might be that you can only stack single windows, and not abstract window groups.

If it was possible to have a fork anywhere (e.g. even within a stack), then that may make this feature request possible.

I'm now speculating, but if instead of "fork"s here https://github.com/pop-os/shell#how-it-works there was a generic "window group" which could either be tiled (behaving similar to the current fork) or be "stacked" then I think that might simplify the data structures, and also perhaps the mental model (e.g. I could quickly turn any fork at any level into a stack with a single command, and perhaps also the other way around)

peey avatar Oct 12 '20 12:10 peey

Stacks are technically window groups. Are you asking for stacks to support holding forks in addition to windows?

mmstick avatar Oct 12 '20 15:10 mmstick

Are you asking for stacks to support holding forks in addition to windows?

Yes!

peey avatar Oct 14 '20 07:10 peey

+1 here! The ability to tile terminal windows within a stack would be extremely useful.

timothyandrew avatar May 12 '21 12:05 timothyandrew

I agree, would love this feature. Would this get merged if I built it out?

ezhang7423 avatar Feb 07 '22 20:02 ezhang7423

Would this get merged if I built it out?

I don't see why it wouldn't be, although it may require UX review to make sure it's not too confusing (and will of course also require QA review to make sure it doesn't break anything else.)

jacobgkau avatar Feb 07 '22 21:02 jacobgkau