sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21649
[Bug 1238027] Re: Screen capture fails to create a selection
I am seeing a similar problem with the Pattern Settings dialog. I click
on the image thumbnail to set the screenshot filename and sometimes, all
my mouse clicks on this screen end up in the ide rather than the dialog.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1238027
Title:
Screen capture fails to create a selection
Status in Sikuli:
New
Bug description:
Hey Raimund,
I am frequently having a problem with the screen capture for the IDE.
The problem is that it does not seem to take the mouse events. I get
to the gray screen to select the area to capture, but it does not do
the selection (white rectangle with red lines). The only way out of
the screen capture is by pressing ESC.
I put a break point in OverlayCapturePrompt line 77 for the mouse
pressed event, and it is simply not called.
This does not happen every time, and so far I have not figured out how
to consistently reproduce this issue.
I also checked that in the class ButtonCapture on line 108 the ide
requests the focus after the prompt for the image selection.
p.prompt("Select an image");
try {
Thread.sleep(500);
} catch (Exception e) {
}
if (delay != 0) {
ide.setVisible(true);
}
ide.requestFocus();
Couldn't this cause the events to not be triggered for the
OverlayCapturePrompt? as far as I know, the events will only be
generated for the element that currently has the focus.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1238027/+subscriptions
References