Hello,
We made one side panel plugin with some defined views and giving instructions about display view on specific window.
This plugin was working very fine with the version 2022 R3 and below versions, now we have updated to version 2023 R1. In this version Main window has issues on changing layout and displaying cameras.
Main window view is not updating with the plugin instructed view, it was sticked with the already existed view and just placing cameras on this view. And also Main window closing cameras when I send instruction to update view and cameras on other secondarydisplays.
we are using this command to set view on specified window
ClientControl.Instance.CallOnUiThread(() => EnvironmentManager.Instance.SendMessage(
new Message(MessageId.SmartClient.MultiWindowCommand,
new MultiWindowCommandData()
{
MultiWindowCommand = MultiWindowCommand.SetViewInWindow,
View = currentView.FQID,
Window = mainWindowFQID
})));
We try to use select window command to select main window before sending view, but it was giving exception error message.
MultiWindowCommandData data = new MultiWindowCommandData();
data.MultiWindowCommand = MultiWindowCommand.SelectWindow;
data.Window = null;
ClientControl.Instance.CallOnUiThread(() => EnvironmentManager.Instance.SendMessage(new VideoOS.Platform.Messaging.Message(
MessageId.SmartClient.MultiWindowCommand, data), null, null));
I have tried with SCViewAndWindow sample plugin, but no use
I am sending some view to Main window with Smartclient View And Window tool from Secondary Display 1 as shown in below image
After click on Fire command button View(1*1) view is displaying on Secondary display 1 instead of Main window as shown in below imageNo change in Main window(Primary display)
Thanks in advance,
Regards,
Priyanka










