Skip to content
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

switch-active-group doesn't behave as expected with multiple monitors #63

Open
Tracked by #57
klhrt opened this issue Nov 28, 2023 · 2 comments
Open
Tracked by #57

Comments

@klhrt
Copy link

klhrt commented Nov 28, 2023

switch-active-group, and by extension i3-switch-active-workspace-group, change the focused and active workspace of only the current monitor while only changing the active workspace of other monitors. The group is switched properly but the other windows aren't re-focused. This is of course a non-issue on a single monitor, but with multiple monitors the behavior is very strange and unintuitive. The current workspace switches, but the others stay focused on their old group/workspace which seems like it almost defeats the entire purpose of using the groups system. I feel a much better default behavior would be for all monitors to automatically focus on their new active group and have an optional flag to enable the current behavior.

@infokiller
Copy link
Owner

Related: #29

switch-active-group, and by extension switch-active-workspace-group

What do you mean by that? there is no such command, only switch-active-group.

change the focused and active workspace of only the current monitor while only changing the active workspace of other monitors. The group is switched properly but the other windows aren't re-focused. This is of course a non-issue on a single monitor, but with multiple monitors the behavior is very strange and unintuitive. The current workspace switches, but the others stay focused on their old group/workspace which seems like it almost defeats the entire purpose of using the groups system. I feel a much better default behavior would be for all monitors to automatically focus on their new active group and have an optional flag to enable the current behavior.

I agree it can make sense to re-focus on a window in the group you switch to on the other monitors, though I don't think it should be the default.
I can add a parameter that will control this.

@infokiller infokiller mentioned this issue Nov 29, 2023
17 tasks
@klhrt
Copy link
Author

klhrt commented Nov 29, 2023

i3-switch-active-workspace-group, the UI for switching groups. corrected in original

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants