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

Option to make Change layout the default #1

Open
dromer opened this issue Aug 27, 2022 · 6 comments
Open

Option to make Change layout the default #1

dromer opened this issue Aug 27, 2022 · 6 comments

Comments

@dromer
Copy link

dromer commented Aug 27, 2022

Currently you have to set "Change layout" individually for each program, plugin, device etc.

Since I want to have this for pretty much everything I do in the patchbay it would be great if this can be set as default option in the settings.

@Houston4444
Copy link
Owner

Interesting.
"Change layout" is not a state, it is an action.
The idea of this feature is of course to optimize box sizes.
In memory, there are 3 possible values for a box layout: Auto, High, Large.
The default value is 'auto', in this mode the selected layout is this one which gives the smallest box area (high or large).
for High or Large values, the layout is simply forced to high or large.

If you click on 'Change layout', suppose the box layout mode was 'auto' but displayed in 'high' mode, then the box layout will change from 'auto' to 'large'.

Note that the same mechanism is used for boxes with inputs and outputs and boxes with only inputs or outputs. For boxes with only inputs or outputs, 'High' means Title on top, 'Large' means title on side.

What I could do in options is two sliders, one for boxes with inputs and outputs, and one for others. It could determinate what the 'auto' mode does, from "always large" to "always high", applying a factor to one of the areas to encourage one mode on the other.

Maybe theses options are overrated... Probably pure area comparison is not a good default mode.

@dromer
Copy link
Author

dromer commented Aug 28, 2022

Ah I see. So far it seemed that auto would always default to the layout I didn't like (is that "high"? I don't know. with ports interlaced and the smallest "width").

@Houston4444
Copy link
Owner

hydro_large
hydro_high
This is the main reason of a such feature.

@dromer
Copy link
Author

dromer commented Aug 28, 2022

Yeah I understand, but it's also inconsistent. See the ordering of midi i/o for these devices:

On the left it starts with the input, in the right with the output.

But for both I prefer to have them on the same level, which makes it much easier to see what the port layout is (for me).

@Houston4444
Copy link
Owner

Ok, The port order is given by JACK. Here the order inconsistency comes from a2j or pipewire. Patchage does the same:

Screenshot_20220828_104448

I'll put the options, I think you are right and the default should be to prefer 'large' layout except if the area win is important (for boxes with inputs and outputs).

Any problem with boxes with title on side (splitted boxes) ?

@Houston4444
Copy link
Owner

Houston4444 commented Aug 29, 2022

Ok, you will find a combobox option in tricks tab after git pull!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants