SUMMARY At the moment, when creating a screenshot via `xdg-desktop-portal`, a confirmation dialog appears. If you specify `interactive = false` (default), then the dialog will still appear with confirmation of saving the captured screenshot. SUGGESTION It would be nice not to display this dialog with the `interactive = false` option, as GNOME does. For example, in my application, the user needs to select a screen area from which to recognize the text. With the current behavior, the user, after activating the recognition, needs to click the "Save" button in the dialog that appears before displaying the selection of the area. This behavior is not very obvious to the user.
Git commit 72cd34252c3954a9f6ae77b23bfc9a752d312f22 by Hennadii Chernyshchyk. Committed on 01/05/2021 at 18:44. Pushed by meven into branch 'master'. Do not display screenshot dialog if interactive is set to false M +4 -2 src/screenshot.cpp M +40 -19 src/screenshotdialog.cpp M +6 -2 src/screenshotdialog.h https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/72cd34252c3954a9f6ae77b23bfc9a752d312f22