sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22246
[Bug 1250112] [NEW] Sikuli finds element on secondary screen but clicks on primary screen
Public bug reported:
Sikuli 1.0.1 on OSX 10.7
Ways to reproduce:
screens = list(Screen(i) for i in range(Screen.getNumberScreens()))
apple = Screen(0)
desktop = Screen(1)
samsung = Screen(2)
screen = samsung
switchApp("Google Chrome.app")
type("t", Key.CMD)
sleep(2)
screen.click("1384175538022.png") # google dots icon
screen.click("1384177981486.png") # google drive icon
Changing screen parameter to other than Screen(0) would make sikuli find
the google dots picture although it would click at the border between
the primary screen and the choosen screen.
My primary screen is in the middle of my three screens.
S(1) is located to the left and S(2) to the right of my primary screen.
S(1) logs:
[log] CLICK on L(-194,299)@S(1)[-1440,157 1440x900] # although clicking on leftmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
S(2) logs:
[log] CLICK on L(3646,142)@S(2)[1920,0 1920x1080] # although clicking on rightmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
** Affects: sikuli
Importance: Undecided
Status: New
** Description changed:
Sikuli 1.0.1 on OSX 10.7
Ways to reproduce:
- See attached picture.
+ screens = list(Screen(i) for i in range(Screen.getNumberScreens()))
+
+ apple = Screen(0)
+ desktop = Screen(1)
+ samsung = Screen(2)
+
+ screen = samsung
+
+ switchApp("Google Chrome.app")
+ type("t", Key.CMD)
+ sleep(2)
+ screen.click("1384175538022.png") # google dots icon
+ screen.click("1384177981486.png") # google drive icon
Changing screen parameter to other than Screen(0) would make sikuli find
the google dots picture although it would click at the border between
the primary screen and the choosen screen.
My primary screen is in the middle of my three screens.
S(1) is located to the left and S(2) to the right of my primary screen.
S(1) logs:
[log] CLICK on L(-194,299)@S(1)[-1440,157 1440x900] # although clicking on leftmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
S(2) logs:
[log] CLICK on L(3646,142)@S(2)[1920,0 1920x1080] # although clicking on rightmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1250112
Title:
Sikuli finds element on secondary screen but clicks on primary screen
Status in Sikuli:
New
Bug description:
Sikuli 1.0.1 on OSX 10.7
Ways to reproduce:
screens = list(Screen(i) for i in range(Screen.getNumberScreens()))
apple = Screen(0)
desktop = Screen(1)
samsung = Screen(2)
screen = samsung
switchApp("Google Chrome.app")
type("t", Key.CMD)
sleep(2)
screen.click("1384175538022.png") # google dots icon
screen.click("1384177981486.png") # google drive icon
Changing screen parameter to other than Screen(0) would make sikuli
find the google dots picture although it would click at the border
between the primary screen and the choosen screen.
My primary screen is in the middle of my three screens.
S(1) is located to the left and S(2) to the right of my primary screen.
S(1) logs:
[log] CLICK on L(-194,299)@S(1)[-1440,157 1440x900] # although clicking on leftmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
S(2) logs:
[log] CLICK on L(3646,142)@S(2)[1920,0 1920x1080] # although clicking on rightmost border of S(0)
[error] script [ open-google-drive ] stopped with error in line 13
[error] FindFailed ( can not find 1384177981486.png on the screen. )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1250112/+subscriptions
Follow ups
References