← Back to team overview

sikuli-driver team mailing list archive

[Bug 1491551] Re: Wrong screen coordinates for multimonitor configuration with different scale rate for them

 

** Changed in: sikuli
       Status: New => Confirmed

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

Title:
  Wrong screen coordinates for multimonitor configuration with different
  scale rate for them

Status in Sikuli:
  Confirmed

Bug description:
  Siculi 1.1.0, Windows 8/10
  If I have different scale rates for monitors, I have a trouble with Sikuli.
  You can see about what setting I'm saying at this picture: http://prntscr.com/8bxqjk
  For example, I have two monitors from left to right:
  3840x2160  (100%)
  3840x2160  (150%) main
  Attributes for screens look like:
  @S(1)[-5760,0 5760x3240]
  @S(0)[0,0 3840x2160]
  You can see that left monitor have wrong x-coordinate, wrong width and wrong hight.

  More examples.
  Three monitors from left to right:
  1920×1080 (100%)
  3840x2160  (150%)
  3840x2160  (150%) main
  We have attributes like:
  @S(2)[-8640,0 2880x1620]
  @S(1)[-5760,0 3840x2160]
  @S(0)[0,0 3840x2160]

  So, only with rightmost monitor at those examples Sikuli work fine,
  becouse only rightmost monitor have correct attributes in Screen
  object.

  And of course I have an error at the begin like:
  [error] RobotDesktop: checkMousePosition: should be L(-3840,1080)@S(1)[-5760,0 3840x2160]
  but after move is L(-5760,1080)@S(1)[-5760,0 3840x2160]
  Possible cause in case you did not touch the mouse while script was running:
   Mouse actions are blocked generally or by the frontmost application.
  You might try to run the SikuliX stuff as admin.

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


References