-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour of workspaces that have both a number and a name #4563
Comments
Please note that new features which require additional configuration will usually not be considered. We are happy with the feature set of i3 and want to focus in fixing bugs instead. We do accept feature requests, however, and will evaluate whether the added benefit (clearly) outweighs the complexity it adds to i3. Keep in mind that i3 provides a powerful way to interact with it through its IPC interface: https://i3wm.org/docs/ipc.html. |
The second part here is a duplicate of #4452 which is a bug. The second part, if to be changed at all, should probably also be seen as a bug and not a new feature. However, here it doesn't seem obvious to me that the new behavior is clearly better in a way that is enough to justify potentially breaking someone's setup. |
Ah, OK! I didn't check the existing issues; guess I should've. :)
(I assume you mean "first part") I could argue that this is a bug... The current behaviour is inconsistent with how named workspaces work, and also a little unintuitive. (In absence of any other sorting criteria, adding new things to a list usually causes them to go to the end of the list, not the beginning.) It's certainly true that this could break someone's setup, but... https://xkcd.com/1172/ In any case, if you only want the second part, then I'm happy to re-work the PR to only do that. Just let me know. Thanks again! |
At the very least it'd be good to split this into two separate PRs since they are separate issues. We can still discuss the other one then (sorry, fresh back from vacation and only quickly scanning things right now). |
Ok, here's the second part first as it seems to be uncontroversial: #4578. And here's the first part second: rsgowman#1. It's based on ^ since the order that numbered+named workspaces are created in obviously plays a role in the tests. (I'll retarget it at origin/next when/if ^ lands.) |
I'm submitting a…
Current Behavior
When using workspaces that contain both a number and a name (eg
5:a
), I've observed:1, 2:a, 2:b, 3
in that order, results in workspaces1, 2:b, 2:a, 3
.){ 1, 2:a, 2:b, 3}
and are on workspace 1, then 'workspace next' traverses1 -> 2:a -> 3 -> 1
, skipping2:b
entirely.Desired Behavior
Impact
Environment
Output of
i3 --moreversion 2>&-
:(Yeah, I've been playing around with this a bit. But tl;dr: this is origin/next.)
I've already got a patch prep'd and ready to go for both of these; I'll create a PR shortly. (That should clear up anything I've been vague about above.)
Thanks for considering this feature request!
The text was updated successfully, but these errors were encountered: