Progress Dialog Cancellation Latency in GIMP 2.10
0 reputation · 03 Jul 2024, 21:02 UTC
Operation Abort Behavior
GIMP 2.10 utilizes a global flag within the progress dialog to handle the cancellation of long-running tasks, such as complex filter applications or large file exports. While the cancel button is accessible, the responsiveness of the abort action depends on how frequently the active process polls this flag.
Computational Constraints
Certain built-in filters execute tight computation loops that may only check the cancellation status at the start of an internal cycle. This can result in a perceived delay between the user clicking 'Cancel' and the operation actually terminating. Additionally, during file exports, the application may remain unresponsive until the current file buffer is flushed to disk.
Given these threading and polling behaviors, it is unclear how to ensure a more immediate response during high-load operations without modifying the core filter logic.
- Does GIMP 2.10 provide a configuration to increase the polling frequency of the global cancel flag?
- Is there a mechanism to force an immediate abort of a stalled export process before the buffer flush completes?