Closed borondics closed 1 day ago
Actually what Orange currently does for non-maximized windows was carefully thought about and additional steps were taken for it to be this way. The goal was not to change the aspect ration of the visualization.
What you propose changes aspect ratios (which we can not avoid if maximized, because it is maximized).
Yeah, I see your point of the aspect ratio of the plot and indeed, my suggestion would change that.
However, what I would consider in this case is what happens currently after you hide the panel? Do you leave the widget window untouched or you change the window size? Then I have two questions: first, if you don't change the window, why did you hide the panel, second, if you do change it, how do you make sure the aspect ratio stays the same as before...
One could think about calculating the aspect ratio of the plot before the change and then using this to enlarge the window automatically?
What happens now is that only the control area disappears and that is it. This nicely supports uses in setting the plot however they want and then they can hide the control area and still expect that the plot did not change.
This was designed as a way for the users to have more active (smaller) windows on a screen where they can show/hide control panels at will, which should not affect visualizations or even their positions.
It was not designed as a way to see the biggest possible plots; that is what maximizing a widget is for.
So, basically, we have two different reasons for hiding control area:
The current behaviour aims to optimize (1). This, I think is a better default.
This might belong to
orange-canvas-core
ororange-widget-base
. Sorry if I am adding the issue in the wrong place.What's your use case?
Many widgets have a functionality to hide the settings panel on the left to be able to maximize the plot area. This is now a multi-step process, because the settings panel simply disappears and this makes the widget window smaller, which needs to be resized by the user.
Actually, I just realized that this behaviour (at least on MacOS 14.6.1) is not consistent when the window is maximized or not (see video below).
https://github.com/user-attachments/assets/44011e6d-8f02-4c5f-97cb-430fb6df43c0
What's your proposed solution?
Would it be an easy thing to change the behaviour of the "hide settings panel" functionality so that the widget window size remains the same and the plot area fills up the space previously taken by the settings panel?
In other words, it would be great to have the full screen behavior in both maximized and non-maximized cases.
Are there any alternative solutions? It is possible to do this manually in multiple steps.