Since xdg-desktop-portal 1.18 it replaces the `UseIn` key.
The obsolete key will be temporarily kept for compatibility reasons.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
I was initially going to put implementation in a separate CPP file but due to DialogResultRender
being a class template the implementation details need to be part of the header.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
The thread waits until the non-modal dialog is done and then sends the result without
blocking the main thread. The dialog itself is initialized in the main thread.
This should fix high CPU usage while a dialog is open, not being able to open multiple
instances of a dialog at once and the DBus service locking down while a dialog is open.
xdg-desktop-portal-tde might yet make it into R14.1.3 ;-)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
This should fix a crash when the daemon is terminated before it can establish
connection and initialize the objects.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Allows selecting a directory to save multiple files while checking for
existing files with similar filenames.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>