Chart is located on one of the dockManager panes. When making the pane floating, tooltips are shown in the correct location.
However after serialization/deserialization ( ultraDockManager.SaveAsBinary / ultraDockManager.LoadFromBinary) floating chart tooltips are displayed in the location as if they were on the parent form (with all the dock panes) - you can see that on the pic attached.
Some investigation showed that the cause may be that Chart.IGWinTooltip object, that refers to the tooltip showing on the chart, has different parent object:
before deserializ - tooltip.Parent = ChartFloatingWindow;
after - tooltip.Parent = MainForm;
Setting parent explicitly after deserializ didnt help.
Infragistics Version=8.1.20081.2033. also tried 2021 hotfix and 8.3
Please, advise
I have attached the solution to reproduce. Steps:
1.Click Save layout button
2. Click Restore button
I would recommend submitting this sample to the support group so it can be investigated: http://ko.infragistics.com/gethelp.
While Infragistics team is working on this, I'd like to note a rather simple workaround:
1. Disable chart tooltips.
2. Create a tooltip manager and attach to ultraChart_.DataItemOut and ultraChart_.DataItemOver. In the respective methods show and hidetooltip.