Restrict pausing to image capturing

Authored by wreissenberger on Sep 23 2019, 7:57 AM.

Description

Restrict pausing to image capturing

Summary:
The capturing process can currently be paused at arbitrary stages, not only during capturing. This behavior cannot be covered by the current state model of the Capture module. But fixing this needs significant refactoring.

As an intermediate solution, a warning is issued when the "Pause" button is pressed but no capture is running. If the Capture module is not in the capturing mode, pressing the pause button is ignored.

Test Plan: Test pressing the pause button during a meridian flip or the post flip alignment. Without this fix, the Capture module gives the impression, that a pause is planned. But after completing the re-alignment after a meridian flip, capturing continues. With this fix, pausing is not possible until the Capture module is capturing frames.

Reviewers: mutlaqja, TallFurryMan

Reviewed By: mutlaqja

Subscribers: kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D23805

Details

Committed
mutlaqjaSep 23 2019, 7:58 AM
Reviewer
mutlaqja
Differential Revision
D23805: Restrict pausing to image capturing
Parents
R321:715afccc0afa: Preparing for v3.3.7 release
Branches
Unknown
Tags
Unknown