ayon-core icon indicating copy to clipboard operation
ayon-core copied to clipboard

Switch context: Notify user when going into new context with different tools

Open BigRoy opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

OpenPype allows custom tools to be set per asset, e.g. sh010 could be set to use mtoa 5.1 but sh050 could use mtoa 5.2. When launching into sh010 and then using work files opening a work file in sh050 the user would still be loading the asset with mtoa 5.1 incorrectly.

When doing so - there is no warning whatsoever and the user might be totally unaware of the tools mismatch.

Describe the solution you'd like

I'd like to show a warning/pop-up or notify the user in any other way that they are now incorrectly going into a context which should actually be using a different set of tools than currently is used in your session - and that e.g. a "restart" is recommended. Even better if the pop-up could then have a button like "Restart in context" which would re-open the current application with the correct environment instead.

Describe alternatives you've considered

I've also considered disallowing browsing into the context whatsoever but I do think it's very likely it will leave the user why they aren't able to launch into a specific context. As such, in all cases the user should be made aware of what's going on.

[cuID:OP-3421]

BigRoy avatar Jun 16 '22 18:06 BigRoy