Incorrect button size

Bug reports.
Thor.Irgens
Posts: 11
Joined: Tue Sep 20, 2016 10:01 am

Incorrect button size

Post by Thor.Irgens » Mon Apr 25, 2022 2:06 pm

Hi.

We have encountered a problem, that code cannot click a X button when application is maximized. Looking in the Spy, the size is shown as 2568, 19. When not maximized, its size is just 60,37.
We discovered this when UI changed to Right-to-Left language like Farsi.

OS: Windows 10.
Ranorex: 10.1.6.
Path to button: /form[@title>'RanorexWpfTitleBarButtons']/?/?/button[@accessiblename='Close']

A developer created this small app to reproduce the issue. Simply start it and track the X button when maximized and not maximized. You can also change the UI to Left-to-Right with the center checkbox.
Note, depending on the screen the app is on, in multi monitor setups, it will affect size of the button. On the right most monitor, in Left-to-Right UI and maximized, the button size is normal. In a single monitor setup, I have only been able to reproduce using Right-to-Left UI.
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Incorrect button size

Post by odklizec » Tue Apr 26, 2022 7:29 am

Hi,

I would suggest to try the most recent Ranorex 10.2 and if it still fails, contact directly Ranorex support here:
https://www.ranorex.com/support-query/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Thor.Irgens
Posts: 11
Joined: Tue Sep 20, 2016 10:01 am

Re: Incorrect button size

Post by Thor.Irgens » Fri Apr 29, 2022 7:55 am

Unfortunately I am unable to download the 10.2. I can only get 10.1.7.
Is there a special link for the 10.2?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Incorrect button size

Post by odklizec » Fri Apr 29, 2022 8:28 am

Hi,

Form some unknown reasons, Ranorex folks removed 10.2 from web. But you can still get it here:
https://www.ranorex.com/download/Ranorex-10.2.0.exe
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Thor.Irgens
Posts: 11
Joined: Tue Sep 20, 2016 10:01 am

Re: Incorrect button size

Post by Thor.Irgens » Fri Apr 29, 2022 3:00 pm

I am unfortunately unable to start Ranorex 10.2. Seems our companys licenses doesn't support 10.2..

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Incorrect button size

Post by odklizec » Sat Apr 30, 2022 6:17 am

Hi,

You should still be able to use it in trial mode?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration