Spotfire Client 10.0 menu refresh problem (IsEnabledCore is not called when Tools menu is opened)
Our (software developer) team faced a strange "change" in the new Spotfire 10 (with Hotfix 3) in comparison with the older versions (7.14 and below).
Our Spotfire extension software implements the CustomTool<TContext>(which is a derived class of the Tool<TContext> class). We use normally the IsEnabledCore method (from the Tool<TContext> class) to decide that our tool menu option should be enabled or disabled.
As we see, there is a change in the version 10.0 when a DXP is loaded into the Spotfire client:
Old 7.X behavior: When the user clicked the Tools menu, the IsEnabledCore function was called immediately.
New SPF 10.0 behavior: the IsEnabledCore function is not called when clicking on the Tools menu (refreshing happens only when the user clicks anywhere inside the opened DXP).
As our IsEnabledCore implementation uses external resources to decide the state of the menu item, it shows incorrect state regulary as the corresponding function is not called.
Is it an intentional behavior change in SPF 10? Or was a performance improvement? Or is it a bug?
Thanks for the answer in advance.