summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-03-01 12:26:25 +0100
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-03-02 12:19:00 +0100
commitbb0940798e29f1bab1419db2863a4a837d331596 (patch)
treedefd9809f5eafba67d5b6c3cb4a95753be780df0 /offapi
parentb1a5dd9f302b2ae278aef1a90536796e8c98757a (diff)
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 <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/ui/dialogs/FilePicker.idl3
1 files changed, 3 insertions, 0 deletions
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.</p>
+ <p>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.</p>
@see com::sun::star::ui::dialogs::TemplateDescription
*/