From bb0940798e29f1bab1419db2863a4a837d331596 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 1 Mar 2021 12:26:25 +0100 Subject: Filepicker: Add note about possible race Change-Id: I17b928c467354d4b5e4a178e3320678875573f60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111743 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- offapi/com/sun/star/ui/dialogs/FilePicker.idl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/offapi/com/sun/star/ui/dialogs/FilePicker.idl b/offapi/com/sun/star/ui/dialogs/FilePicker.idl index 46367481381b..6c61f394a28b 100644 --- a/offapi/com/sun/star/ui/dialogs/FilePicker.idl +++ b/offapi/com/sun/star/ui/dialogs/FilePicker.idl @@ -52,6 +52,9 @@ published service FilePicker : XFilePicker3 The implementation of a FileSave dialog should automatically check for existence of a file and issue a warning if a file with the same name already exist.

+

Note that when creating a file picker, the top window is selected + as the parent window for the file picker. Make sure that it does not get + closed while opening the file picker, as there is a potential race.

@see com::sun::star::ui::dialogs::TemplateDescription */ -- cgit v1.2.3