← Back to team overview

sikuli-driver team mailing list archive

[Bug 1238027] Re: Screen capture fails to create a selection

 

at comment #1:

I made it separate bug since this a totally different situation

** Description changed:

- 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.

** Summary changed:

- Screen capture fails to create a selection
+ [1.0.1] Linux: Screen capture sometimes fails to create a selection

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
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:
  [1.0.1] Linux: Screen capture sometimes fails to create a selection

Status in Sikuli:
  In Progress

Bug description:
  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.

  This does not happen every time, and so far I have not figured out how
  to consistently reproduce this issue.

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


References