View Issue Details

IDProjectCategoryView StatusLast Update
0011237MMW v4Framework: Scripts/Extensionspublic2013-10-22 09:23
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityrandom
Status newResolutionopen 
Summary0011237: Problem with SDB.UI.Menu_Pop_Tree_SendTo.Visible = True [MM4]
DescriptionMy Magic Nodes script displayed Send To popup sub-menu in MM3 just fine. Its visible state is set in OnChangedSelection event handler where I am doing test if selected node is Magic node. However, in MM4 the display of Sent To sub-menu is random, sometimes the same node has that menu displayed, but sometimes it hasn't.

One thing is also notable: in MM3 when I right-click on some Magic node, the Send To menu is displayed immediately, without any lag, but when I right-click some Magic node in MM4, Send To menu is slowly adding to the popup menu (if it is displayed at all), i.e. it is quite visible how popup menu expands vertically for that menu item.

I tried to use OnTrackListFilling and OnTrackListFilled event handlers as well. If SDB.UI.Menu_Pop_Tree_SendTo.Visible is set in OnTrackListFilling then that menu item is not visible at all. If it is set in OnTrackListFilled then it seems that it shows as it should, but only on the first right-click on some node. However, if some node is already selected and if you right-click it again, then that menu item would not appear at all. If you try this with some built-in node then Send To menu will appear whenever you right-click node, not matter if it is already selected or not.

As I said, MM3 didn't have such problems.

Actually, I would like to know why this setting is needed in the scripts at all. I think that visible state of Send To menu item should be set by program for all nodes that have displayed some tracks, not matter if they are built-in or script-created.
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.