-
Notifications
You must be signed in to change notification settings - Fork 3
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
Respond to window resizing (was [Question] Fullscreen mode: How floating windows should behave?) #224
Comments
The current logic is:
That's definitely correct behaviour when the user is moving the controller. However, when the window is resized, there are two issues:
I think the first should be fixed. The second, I think is the natural way for it to work given the three rules above, and I doubt the cost/benefit of trying to do otherwise. |
Could it be possible to have a button to "maximize the window" ? In the "maximized" state:
Alternatively, instead of having button, the column could enter "maximized" state automatically, if we resize it to full height. |
Maybe the only thing I would change is the window position, following the browser window resize like Queue and Graph Canvas menus: Floating_Menus_Behavior.mp4 |
I think I might have found a better solution. See what you think. If you resize the window down then up, it should return to the size and position it was before (unless you interact with it in between, in which case the new position takes preference). Basic logic is:
|
Can't we have rules like these ? 1 - If a Controller border touches a canvas border, it will always do so, unless the user changes this ( by dragging it or resizing it ) 2 - The position for the Controller will be changed, when needed, to to follow rule 1 3 - If changing the position is not enough to fulfill rule 1, dimensions will be changed. This last one is in case the Controller has full height ( if 2 opposite canvas borders are touched by the controller ). |
I've put this into #228 as part of making controller windows snap together, since they are quite related. Since any code handling this will need to be rewritten when we have multiple controllers, I'm going to leave this as is for now. |
In this initial stage, the floating window has this behavior in fullscreen mode:
Fullscreen_Behavior.mp4
Now I wonder: Is this the correct behavior? How to avoid unwanted moving and resizing?
The text was updated successfully, but these errors were encountered: