mgear4 icon indicating copy to clipboard operation
mgear4 copied to clipboard

anim_picker: add dockable launch option

Open jdrese opened this issue 4 years ago • 8 comments

jdrese avatar May 03 '20 21:05 jdrese

Hi @jdrese Thanks for all the commits today!

the change in the visibility of selected controls works great. But the dockable have an issue

image

I did remove this option because of the lack of time to fix this. And forgot to log it :P sorry

I think we should rollback this part for the next release.

miquelcampos avatar May 03 '20 23:05 miquelcampos

Interesting. How did you get that? I've tested the docking on 2019 and did not get this issue

jdrese avatar May 04 '20 06:05 jdrese

I am using Maya 2018.6. Maybe it is that. I will check later in 2020

miquelcampos avatar May 04 '20 07:05 miquelcampos

will try on 2018 later today as well

jdrese avatar May 04 '20 07:05 jdrese

I just tested in 2020. Same result and crash :(

miquelcampos avatar May 04 '20 08:05 miquelcampos

Yes I actually manage to reproduce it as well. When you dock into an already existing workspaceControl object it crashes. If it is a new one then no crash...

jdrese avatar May 04 '20 09:05 jdrese

I began to look into this and it seems I am only able to recreate this successfully if I launch the UI as dockable in edit mode. If in Edit=False I cannot make the UI crash at all.

Can anyone confirm this is the same on their machine?

It seems as if it has something to do with the pop-up that warns the user about lost changes. The MayaMixin is calling close/hide/show events and with the the setup of the picker, those functions cause a destructive refresh.

RafaelVillar avatar May 20 '20 10:05 RafaelVillar

Hello @RafaelVillar

I didn't always have Maya crashes when docking in NON edit mode but definitely is makes Maya UI unstable. In my tests when I dock to a free docking space (new dock place) I don't have any issue, but when docking to another docking space (like the outliner space) then this makes Maya UI go crazy.

pickerdock

jdrese avatar May 20 '20 12:05 jdrese