sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29981
[Bug 1408486] Re: [1.0.1] Windows 7 Fresh Install select an image black screen
OK trying a few things, reconnected the second monitor and rebooted and
the black screen went away. The reboot was not my choice - windows blue
screened when I connected the second monitor and try to select desktop
->right-click->Screen Resolution, so I don't know if the reboot was
necessary to fix the problem or not. If I now disconnect the other
monitor (both physically and in Windows) without rebooting, the black
screen problem does not reappear.
However things are still not quite right. When I capture an image, the
screen goes darker now as expected but also shifts down and right by
about 20 pixels, with a black border appearing along the top and left,
and along the bottom a similar sized border that is not shifted at all.
This means there is a line of about 20 pixels wide along the bottom of
the screen that can't be selected. Similarly I can't select anything
below the line - if I try, it just comes out black. Finally, if I do
select anything at the bottom of the screen without straying into the
"capture goes black" region, although the captured image seems to be OK
the matching doesn't seem to work properly. Having tried a few things I
have come to the conclusion that the image capture is fine, but that the
image searching code is viewing the desktop the way it shows me it when
the screen goes dark. This would explain the failure to match at the
bottom of the screen (it can't see it) and also the fact that the mouse
pointer always seems to move to a point offset down and right of the
matched image.
Reconnecting the second monitor is a workaround for now. Hopefully it is
useful info to you for finding the cause of the problem. I realise that
this is probably not Sikuli's fault but the underlying libraries, but
maybe it helps.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1408486
Title:
[1.0.1] Windows 7 Fresh Install select an image black screen
Status in Sikuli:
New
Bug description:
Hi,
New here but couldn't find this reported yet. On Windows 7 SP1 64-bit,
I have just done a fresh install of Sikuli (the latest stable release
at time of writing SikuliX-1.0.1). Tried out hello world tutorial but
on the first step got a black screen when capturing image. The screen
was all black but with the large white text "select an image". Once a
region was selected, the captured image also came out solid black (my
desktop is not black). I have tried this a few times including after
restarting and get the same results each time.
Note this is not bug 752065 "Screen goes black when capturing image
when running on VM Fusion" - I am not using a virtual machine. However
the symptoms are otherwise similar. Of note, I do have Virtual Box
installed, although it was not running at the time.
Given this release is quite old now, I am guessing it may possibly be
an issue on my part, otherwise somebody else would have reported it?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1408486/+subscriptions
References