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

Window unmaximizes upon movement #1521

Open
oredaze opened this issue Feb 11, 2024 · 4 comments
Open

Window unmaximizes upon movement #1521

oredaze opened this issue Feb 11, 2024 · 4 comments
Labels
enhancement New feature or request later Not priority at the moment UX User Experience issues
Milestone

Comments

@oredaze
Copy link

oredaze commented Feb 11, 2024

I don't know if this behavior is intended, I hope not.
Issue:
Maximize a window - try to move it - it unmaximizes.

Expected behavior: if window is maximized in only 1 dimension - it's movement is locked to only the opposite dimension. If it is fully maximized: the window is unmovable. Of course in both cases it keeps the maximized status.

It is useful for example for a workflow with tall and narrow terminal windows.

This is also the openbox behavior.

@Consolatis
Copy link
Member

Consolatis commented Feb 12, 2024

I personally kind of like the ability to move a window out of its (full) maximized state. @ahesford @johanmalm @jlindgren90 might see it different though.

However, I am not sure how we deal with maximized in only one direction, locking the movement to the opposite direction makes sense to me and could likely be implemented.

@Consolatis Consolatis added enhancement New feature or request later Not priority at the moment UX User Experience issues labels Feb 12, 2024
@jlindgren90
Copy link
Contributor

The current behavior was the least work to implement when I did the initial one-axis maximize feature. Locking movement to the other axis (like Openbox does) could be nice.

@jlindgren90
Copy link
Contributor

Openbox does allow moving fully maximized windows, by the way. It's just "jumpy" - the window doesn't move until the mouse is on another display, and then suddenly jumps to be maximized on that display.

I think I like labwc's handling better. Though I think having a >1 pixel threshold/resistance to begin moving a maximized window would be nice, to avoid accidental moves.

@Vladimir-csp
Copy link

Another thing to keep in mind: do not save position along unmaximized axis. Currently if window is maximized vertically, moved horizontally, then unmaximized, it jumps to horizontal position before maximization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request later Not priority at the moment UX User Experience issues
Projects
None yet
Development

No branches or pull requests

4 participants