pyblish-lite icon indicating copy to clipboard operation
pyblish-lite copied to clipboard

Toggle instance should effect instance plugins

Open larsbijl opened this issue 9 years ago • 5 comments

goal

When I toggle a instance in the left hand side it should toggle on/off the relevant instance plugins on the right hand side of the overview.

implementation

A good place would be in control.py, under the on_toggle method

larsbijl avatar May 13 '16 14:05 larsbijl

In QML, what happens is that the unsupported plug-ins disappear; to only display those that actually get run/are optional.

Unchecking them is a good first step, having them disappear is more complex and can come afterwards.

As a detail, it should probably both uncheck and make it non-optional so the user can't check it afterwards. Running it does nothing, but it'd color it green which might be confusing.

mottosso avatar May 13 '16 15:05 mottosso

maybe we can just make the text gray making it look inactive instead of fully removing it?

larsbijl avatar May 16 '16 11:05 larsbijl

We could, but the benefit of hiding them is that there could be hundreds of registered plug-ins, but the user (and developer) would only ever see relevant ones.

In QML, and here, I think it could be advantageous to have an option to toggle this behaviour, as it can sometimes be useful to see exactly everything that is available, for debugging purposes.

mottosso avatar May 16 '16 11:05 mottosso

I personally really like the hiding behavior. It makes it very clear what is about to be ran, so ultimately it would be nice to get to that eventually.

mkolar avatar May 20 '16 07:05 mkolar

I personally really like the hiding behavior. It makes it very clear what is about to be ran, so ultimately it would be nice to get to that eventually.

+1

BigRoy avatar May 20 '16 08:05 BigRoy