I managed to have find a resolution. Instead of using `dockCloseEventTriggered`, using of `closeEvent` seems to have resolve it.
I have to write my UI create code to include something as follows: self.ui.closeEvent = self.closeEvent And this seems to be picking up in both Maya 2017 and 2018. Or as one of my co-worker is telling me that the `MayaQWidgetDockableMixin` I am using could be a custom build since my company may have rewritten certain portions to conform it to other tools. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ef562723-e2ea-4a44-904c-85339bfb80bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.