glazewm icon indicating copy to clipboard operation
glazewm copied to clipboard

window unmaximized when workspace is refocused

Open crhf opened this issue 2 years ago • 4 comments

A previously maximized window is unmaximized when its workspace is focused with Alt+.

More details: I have two monitors, one has workspace 1, the other has workspace 2. After opening two windows in workspace 2 and maximizing one of the windows, do Alt+1 then Alt+2. The previously maximized window is unmaximized, but I would expect it to stay exactly as it was (maximized).

Any way around this? Is this a feature or a bug?

crhf avatar Jun 04 '23 02:06 crhf

it is also being reset while switching with a recent workspace command. are there any workarounds?

activaigor avatar Nov 12 '23 20:11 activaigor

As a former i3 user, I got used to and do prefer the behavior of keeping the window maximized on the previous workspace when you change a workspace, so that when you go back to the previous workspace the window is still maximized and not unmaximized. is there a config option to change/toggle off this behavior?

wis avatar Dec 05 '23 21:12 wis

I believe this was fixed in (#421) but it is not reflected in the provided binary. Just compile the latest develop version and you should be set.

Video-Nomad avatar Dec 05 '23 21:12 Video-Nomad

Thanks George @Video-Nomad, you're right, it is fixed by the latest commits. the window stays maximized when you go back to the workspace it is in. but there are some bugs that need reporting, like if window is maximized you focus left, focus right etc., or if a new window opens while you're in a maximized window (e.g. using Chrome while maximized and you open a new window with Ctrl+n) the maximized window goes behind the focused window and you can't focus it it again without using the mouse.

wis avatar Dec 08 '23 03:12 wis

Fixed in v3 👍 Latest release

lars-berger avatar Aug 17 '24 17:08 lars-berger