← Back to team overview

sikuli-driver team mailing list archive

Re: [Bug 1704237] Re: [1.1.x] Linux: Capture always uses secondary monitor.

 

As requested:

L(960,600)@S(0)[0,0 1920x1200]

L(960,600)@S(0)[0,0 1920x1200]
L(2880,600)@S(1)[1920,0 1920x1200]
L(2880,600)@S(1)[1920,0 1920x1200]

Alex

On 07/14/2017 09:06 AM, RaiMan wrote:
> What about that?
>
> print Screen(0).getCenter()
> Screen(0).hover()
> print Mouse.at()
> print Screen(1).getCenter()
> Screen(1).hover()
> print Mouse.at()
>

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

Title:
  [1.1.x] Linux: Capture always uses secondary monitor.

Status in Sikuli:
  In Progress

Bug description:
  1.1.1(2017-03-29_10:41)/Linux3.10.0-514.26.2.el7.x86_64/Java8(64)1.8.0_131-b12

  $ uname -a
  Linux abcrndlni1... 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  print getNumberScreens()
  print Screen(0).getBounds()
  print Screen(1).getBounds()
  print Screen(0).selectRegion()
  print Screen(1).selectRegion()

  2
  java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
  java.awt.Rectangle[x=1920,y=0,width=1920,height=1200]

  R[2279,429 313x161]@S(1) E:Y, T:3.0
  R[2442,387 280x195]@S(1) E:Y, T:3.0

  This was on a clean install today.  Rebooting did not help.
  Rearranging monitors did not help.  The selectRegion only used the
  secondary monitor for the selection.

  Thank you
  Alex

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


References