GNOME Bugzilla – Bug 652532
Delay time is invalid on burst mode
Last modified: 2011-09-08 16:07:48 UTC
Launch cheese and set delay 6 seconds between photos, starting with burst mode, after 6 second then cheese didn't take photo, but cheese capturing after about 20 seconds(contain countdown animation). Reproduce Steps: 1. Launch cheese 3.0.1 on openSUSE 11.4 2. Edit->Preferences->set "Delay Between Photos" entry as 6 seconds 3. Switch to burst mode 4. Clicked "Take Multiple Photos" button 5. Watch the issue appear after 6 seconds Actual Results: Not take next photo after 6 seconds Expected Results: Capturing after 6 seconds
Created attachment 189889 [details] [review] fix delay time is invalid on burst mode I found a weird way to calculated delay time, the line at 794 in cheese-window.vala: burst_callback_id = GLib.Timeout.add ((settings.get_int ("burst-delay") / 1000) * 3500, burst_take_photo); I don't understanding why need multiply by 3500. I made a patch, if burst-delay time less than 3500 ms, and countdown entry is checked, the delay time as 3500 ms(for countdown animation could finish), otherwise used burst-delay time what we set on Preference dialog. The patch works fine in my machine. I am not sure this patch consistent with default behavior, but it's meet the behavior what I think in my head :-)
Created attachment 195882 [details] [review] simplified patch to fix burst mode delay time I simplified your patch slightly, and attached the newer version. It looks good, and is a straightforward fix.
Comment on attachment 195882 [details] [review] simplified patch to fix burst mode delay time I pushed this to master as commit 1baf1919d4a21aba125343d916f99eae3cce4974, thanks.