Cancelling screenshot operation should not bring up an error dialog
GIMP version: 2.10.18
Operating System: openSUSE Tumbleweed
Package: distro package
Description of the bug
Selecting an area to screenshot, and pressing Esc to cancel the operation, brings up the attached error dialog:
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- File / Create / Screenshot
- Turn on "Select a region to grab", click the Snap button to confirm the dialog.
- Wait until the crosshair cursor appears; press Esc.
Expected result: The operation would be cancelled without any further interaction or a dialog.
Actual result: The dialog in question appears; the operation is cancelled.