Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
dpi change causes control to be recreated
posted

Hello,

I upgraded infragistics from version 16.1 to 19.1 and started having a weird issue in RDP sessions. I have been using toolbar manager, DockableControlPane, dockareapane, UltraTabControl on a form and also have an RTF control which is one of the tab page controls. When I run my application on a remote server using RDP and create an RTF document, then disconnect from RDP, while RTF document is still open, and reconnect, RTF control is recreated from scratch so I lose everything I do on the RTF and it becomes blank. I realized that it is not only happening in RDP session but also if I change the DPI locally I see the same problem. Looks like scaling is causing this issue. I saw below events are fired before RTF control recreation.

Infragistics4.Win.UltraWinToolbars.v19.1.dll!Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.ForceRecreateHandle(System.Windows.Forms.Form control) Unknown
Infragistics4.Win.UltraWinToolbars.v19.1.dll!Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnThemeChanged(object sender, System.EventArgs e) Unknown

Infragistics4.Win.v19.1.dll!Infragistics.Win.WeakReferenceMulticastDelegate<System.__Canon>.WeakReferenceProxyEventHandler.OnEventFired(object sender, System.__Canon e, System.Type delegateType) Unknown
Infragistics4.Win.v19.1.dll!Infragistics.Win.WeakReferenceMulticastDelegate<System.EventArgs>.Invoke(object sender, System.EventArgs e) Unknown
Infragistics4.Win.v19.1.dll!Infragistics.Win.XPThemes.OnThemeChangeMessage(object sender, System.EventArgs e) Unknown
Infragistics4.Win.v19.1.dll!Infragistics.Win.XPThemes.ThemeManagerWindow.ThemeManagerNativeWindow.WndProc(ref System.Windows.Forms.Message m) Unknown

Any idea about that? I don't understand why RTF control is forced to be recreated from scratch. Is there any changes that was done in version 19.1 which could cause this problem in RDP sessions or when DPI changes? MaxInfragisticsDpiAwareness is set to dpiUnAware in my application.

Thanks,

Pinar

Parents
No Data
Reply Children
No Data