[Libreoffice-commits] core.git: offapi/com

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 2 11:19:50 UTC 2021


 offapi/com/sun/star/ui/dialogs/FilePicker.idl |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit bb0940798e29f1bab1419db2863a4a837d331596
Author:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Mon Mar 1 12:26:25 2021 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
CommitDate: Tue Mar 2 12:19:00 2021 +0100

    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 at allotropia.de>

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
     */


More information about the Libreoffice-commits mailing list