After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Bug reports.
sellebrd
Posts: 5
Joined: Thu Aug 09, 2018 9:58 pm

After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Post by sellebrd » Sat Mar 30, 2019 2:27 am

Windows version: 1809 Build 17763.379

Here are the steps to repro:

1. Open Ranorex Spy 9.0.0
2. Open Notepad.exe

3. Restore Down Notepad.exe screen (make sure it is NOT maximized)
4. In Spy, track the Close button
Result: The Close button is correctly highlighted

5. Maximize the Notepad.exe screen
4. In Spy, track the Close button
Result: The Close button is NOT correctly highlighted. Something between the Restore Down and the Close button gets highlighted instead.

This applies to all Windows forms.
This makes our tests fail now.
Last edited by sellebrd on Sat Mar 30, 2019 2:37 am, edited 1 time in total.

sellebrd
Posts: 5
Joined: Thu Aug 09, 2018 9:58 pm

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Post by sellebrd » Sat Mar 30, 2019 2:32 am

I created a video demonstrating the issue here:
https://drive.google.com/open?id=1Z90x9 ... 721fxoNpa3

In the video, look closely on the top right to see what Ranorex Spy highlights.

It's all good when the screen is restored down.
But when it's maximized, it does not highlight the buttons exactly!

sellebrd
Posts: 5
Joined: Thu Aug 09, 2018 9:58 pm

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Post by sellebrd » Sat Mar 30, 2019 2:36 am

I have a Windows 10 computer with version 1803 Build 17134.167.

Also with Ranorex 9.0.0.

This issue is NOT reproducible there.

qwertzu
Posts: 224
Joined: Wed Jan 25, 2017 11:08 am

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Post by qwertzu » Mon Apr 01, 2019 12:48 pm

Hi sellebrd,

This could be caused by a strange resolution or DPI scaling on your machine.
Check the display settings and make sure to set the DPI scaling to 100 % and use a standard resolution.

Hope, this helps.
Regards, qwertzu

sellebrd
Posts: 5
Joined: Thu Aug 09, 2018 9:58 pm

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

Post by sellebrd » Fri Apr 05, 2019 10:05 pm

I created a support ticket with Ranorex, and I was able to get very quick response regarding this problem. Thank you, Ranorex!

So, according to them, this is an issue specific with Windows 10 version 1809 Build 17763.379.

Using Microsoft’s Inspect tool (comes with Windows SDK) which is very similar to Spy, the issue is also reproducible.

Update Windows with caution! :wink: