We are developing a plugin for XProtect’s SmartClient.
Our plugin was working as expected with versions of XProtect up to 2022R3, but it no longer works with XProtect 2024R1. No changes have been made to the source code during this period.
Regarding the issue:
With XProtect 2024R1, immediately after launching SmartClient, the view with the pre-configured plugin does not render. After updating from 2021R2 to 2024R1, it no longer functions correctly. Further investigation revealed that it works correctly up to 2022R3 but stops functioning properly from 2023R1 onwards. Therefore, we suspect that changes between 2022R3 and 2023R1 may be responsible.
Specifically, we have created a class that inherits from the VideoOS.Platform.PluginDefinition class and perform rendering processing within the ViewChangedHandler method. However, it has been confirmed that the ViewChangedHandler, which used to be called at the time of SmartClient launch (up to XProtect 2022R3), is not being called in XProtect 2024R1.
To add further details, there are patterns where ViewChangedHandler is and isn’t called. The following two patterns do not call ViewChangedHandler:
- At the time of SmartClient launch (immediately after login)
- After switching views, when re-selecting a specific view after choosing another
However, in the following pattern, ViewChangedHandler is called as expected:
- After switching tabs at the top of the SmartClient screen, when re-selecting the view tab after choosing the export, search, or alarm manager tab
If there have been any specification changes regarding view rendering in XProtect 2024R1, please provide the details and specific solutions.