Open kmandarin-orange opened 3 weeks ago
In my first few days of using cosmic, coming from i3, I started writing something like this but decided to leave it to think about more first. And every time I resize I feel that it is very unintuitive and feels very awkward. So I'm on the same page.
In i3, which I still use at work, and had used for many, many years at home as well, I have a binding for grow/shrink vertically using the up (grow) and down (shrink) keys and a binding for grow/shrink horizontally using the right (grow - because I use LTR languages) and left (shrink) keys. (If I were using an RTL language left/right would presumably make sense for grow/shrink horizontally) - acting on the currently active window.
There is no overhead once you've gotten used to this because the behaviour is always the same. The window grows or shrinks in the right direction with the same keystroke. Which border moves just depends on which borders are against an edge of the screen, or if they aren't the window grows or shrinks proportionately in place, as the windows above and below or on either side change proportionately. Floating windows would work the same way, they just wouldn't affect other windows as they changed size.
UI wise there is no need for arrows or a description to show you what is happening (and require you to think) because each arrow only does one thing always, and you don't have to think about it and specifically don't need visual indications to help you think about what you are doing because the key you are pressing that always does the same thing that you can see it is doing it already - the windows is resizing.
So this probably counts as a suggestion for a second alternative, as well as a seconding the motion there is something worth reconsidering in this specific area of the usability of cosmic.
Fair point, it is all a matter of what people are used to. Glad to hear I'm not the only one noticing this!
I was afraid to pitch this as yet another alternative option for the devs to add to cosmic-settings though, since I assumed more people were used to the more common hyprland/i3/sway type of resizing, and didn't think the devs wanted to have another thing to maintain, hence the suggestion to replace the current method.
If it turns out the split is more even than I expected, maybe it'd be worth adding an option to change the resize scheme for sure. Until then, it'll be interesting to see what the broader community thinks about how this should be improved.
The tiling experience in Cosmic has been great so far, but I've noticed one confusing annoyance: it feels and unnatural to manage window resizing with a grow/shrink dichotomy when they're logically the exact same action: pushing a window's edge in one of two directions. I'll add some detail on problems with the current scheme, an alternative solution, and the pros/cons of said solution.
Problems with Current Scheme
Possible Solution
Window Focus
shortcuts)Benefits
Window Focus
shortcutsDrawbacks
This is all a matter of preference of course, but I was wondering if others had felt a similar friction while using this feature. If so, exploring alternatives here would be interesting. If any of this was unclear, I can make some concept visuals to help.
[^1]: Source: "trust me bro" But really, the source is me and a few people I've talked to. I'm making some broad assumptions here, so hopefully this issue will surface other ways of thinking if my logic is off-base.