delay before capture setting not honored by auto capture

Bug #599528 reported by Human
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Undecided
Unassigned

Bug Description

Preferences -> Screen Capturing offers a "Delay before capture" setting, but this number is apparently not used by auto capturing and when using the capture hotkey.
------
Sikuli 0.10.1
32-bit Ubuntu 10.04
Mac 10.6
Win7-32

Revision history for this message
Human (bob-igo) wrote :

I've discovered that this happens in the state where you start fresh, without loading a previous project or without saving the current project. Once you save, the timing is honored.

Revision history for this message
Human (bob-igo) wrote :

After double-checking, I found the basis for the inconsistency: The manual capture option (clicking the camera icon) honors the delay, but the auto-capture option does not.

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

It would be nice if some sort of control how rapidly the screen is sampled could be exposed to the script.

Maybe up to the point where it is possible to specify that several find() operations can be performed on a single screenshot?

Revision history for this message
Human (bob-igo) wrote :

We might be talking about different things. I'm referring to the delay between telling Sikuli to capture a small image for use inside the script, and when it actually goes into screen capture mode. I think you may be referring to optimizing the way the entire screen is captured, and when it's necessary to re-capture the whole screen. And I think that would be a nice option, too, but you may want to open a separate report on it.

Revision history for this message
RaiMan (raimund-hocke) wrote :

added comment on Mac and Win7 in description

description: updated
description: updated
Revision history for this message
Human (bob-igo) wrote :

RaiMan, does it work for you on auto-capture, or just manual capture? It works for me on manual capture, but if I click something like "click(camera picture") in the IDE, there's no delay after the IDE window disappears.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Ok, you got me.
changed the description again.
The delay is only honored, when clicking on a camera symbol (either the button or inline in the code).

summary: - screen capturing delay setting is not honored
+ delay before capture setting not honored by auto capture
description: updated
Changed in sikuli:
status: New → Fix Committed
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.