RTC Forums

Dashboard => Quick Start => Topic started by: D.Tkalcec (RTC) on December 20, 2015, 12:46:44 PM



Title: Fix Screen Scaling issues with RTC Portal Host and/or Control
Post by: D.Tkalcec (RTC) on December 20, 2015, 12:46:44 PM
Some Windows APIs (like BitBlt - used for screen capture on the Host) don't work correctly with Screen scaling (using "Large Text" display, using 150% scaling or using a low DPI on a high DPI monitor).

Because of this, RTC Portal Host will be capturing only part of the Screen and remote mouse control will be impossible because of wrong mouse positioning (due to false Screen Width and Height values). At the same time, RTC Portal Control running on Windows with Screen scaling will show the remote Host Screen larger than it actually is, forcing you to scale it down and enable smooth view to keep text readable.

To fix this problem, you need to right-click application shortcuts ("RTCHost.exe" and "RTCControl.exe") and click Properties. On the Compatibility tab, select Disable Display Scaling On High DPI Settings, and then click OK.

This has to be done on the "RTCHost.exe" if you only see part of the Host Screen when using Desktop View or Control, or if you can not remotely control the mouse of the Host PC because of wrong mouse positioning.

This is also recommended for the "RTCControl.exe" if a Host Screen seems much larger than it should be (using "View Desktop") and you want a clear and normal-sized image of the Host Screen. Or ... if you are using "Screen scaling" on the Control PC and you occasionally need to show your Screen to the customer.

As an alternative, you could compile RTC Portal Host and Control executables with a Windows manifest file using the „dpiaware“ attribute:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx

Best Regards,
Danijel Tkalcec