TestComplete has incorrect screen coordinates for objects on second monitor
When our application runs on the default monitor, and locating an object using the ObjectBrowser, it shows the object and it properties, and "Highlight on screen" indeed highlights the object with a red border. But when when our application is moved to the 2nd monitor and doing the same, it cannot find the object.
Even not when refreshing the tree. The Help shows 4 reasons and all are not applicable. The object is visible and nothing is blocking it.
Further analysing: when on the default monitor, the screen coordinates for the window are:
ScreenLeft=2403, ScreenTop=510
and for the object:
ScreenLeft=2432, ScreenTop=518
when on the 2nd monitor, window:
ScreenLeft=604, ScreenTop=510
and for the object:
ScreenLeft=512, ScreenTop=416
I expect 633 and 518 for the screen coordinates of the object inside the window, when on the second screen.
So why is the screen position for an object inside a window incorrect?