← Back to team overview

sikuli-driver team mailing list archive

[Bug 2007980] [NEW] SikulixIDE does not scale the area to find elements when windows resolution is changed

 

Public bug reported:

To avoid most of the resolution problems of Sikuli, I chnage within my script the user windows desktop resolution (100% - 125% - 150% and 175%) and i put it by default at 125%. The thing is that Sikuli is only looking in the old resolution (for example, if i go from 150% to 125%, a large part of the bottom and right side of the screen won't be detected, so if I need to find() something here, it will never be able to). I don't know if it is fixable but i might just post it here.
I am using version 2.5.0 under windows 10 64 bits.
If you want to reproduce the bug, just make a script which changes windows resolution, then try to find something like the Wi-Fi logo on the bottom rigt part of the screen. You can also open SikuliIDE while being at 150% or 175%, then switch back to 125% and take a screenshot with the IDE tool made for it, you will se the part of the screen that is ignored.
I know that relaunching SikuliIDE fixes it, but it is in the case that it is needed to switch it inside the script, for portability between different persons laptops.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/2007980

Title:
  SikulixIDE does not scale the area to find elements when windows
  resolution is changed

Status in SikuliX:
  New

Bug description:
  To avoid most of the resolution problems of Sikuli, I chnage within my script the user windows desktop resolution (100% - 125% - 150% and 175%) and i put it by default at 125%. The thing is that Sikuli is only looking in the old resolution (for example, if i go from 150% to 125%, a large part of the bottom and right side of the screen won't be detected, so if I need to find() something here, it will never be able to). I don't know if it is fixable but i might just post it here.
  I am using version 2.5.0 under windows 10 64 bits.
  If you want to reproduce the bug, just make a script which changes windows resolution, then try to find something like the Wi-Fi logo on the bottom rigt part of the screen. You can also open SikuliIDE while being at 150% or 175%, then switch back to 125% and take a screenshot with the IDE tool made for it, you will se the part of the screen that is ignored.
  I know that relaunching SikuliIDE fixes it, but it is in the case that it is needed to switch it inside the script, for portability between different persons laptops.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/2007980/+subscriptions



Follow ups