i3-workspace-groups icon indicating copy to clipboard operation
i3-workspace-groups copied to clipboard

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

Open klhrt opened this issue 2 years ago • 2 comments

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.

klhrt avatar Nov 28 '23 15:11 klhrt

Related: https://github.com/infokiller/i3-workspace-groups/issues/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 avatar Nov 29 '23 08:11 infokiller

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

klhrt avatar Nov 29 '23 21:11 klhrt