Bug 95722

Summary: FilePicker setDefautlName dont work when FILESAVE_SIMPLE template
Product: LibreOffice Reporter: Julien Chavant <julien.chavant>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cno, rb.henschel, xiscofauli
Priority: medium    
Version: 5.0.3.2 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Julien Chavant 2015-11-10 10:03:56 UTC
The setDefaultName method of filepicker object dont work if filepicker object is initialize with filesave_simple template

Dim oDialog As Object
Dim i As Integer
  
oDialog = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
i = com.sun.star.ui.dialogs.TemplateDescription.FILESAVE_SIMPLE 
oDialog.initialize(Array(i))
oDialog.setDefaultName(ConvertFromUrl(sFileName))
Comment 1 Cor Nouws 2015-11-10 11:55:06 UTC
Hi Julien,

Thanks for filing. 
I cannot confirm the problem, sorry. Works fine on Ubuntu 32 bits. In any case, If I give sFileName a value ;)
But maybe Windows only, as bug 43021 ?

  NB here are all filepicker issues
  https://bugs.documentfoundation.org/buglist.cgi?component=BASIC&list_id=570695&product=LibreOffice&query_format=advanced&resolution=---&short_desc=picker&short_desc_type=allwordssubstr

Cheers - Cor
Comment 2 Regina Henschel 2015-11-10 22:16:24 UTC
See bug 70843 too.
Comment 3 Xisco FaulĂ­ 2017-06-11 15:23:13 UTC
Closing as RESOLVED DUPLICATED

*** This bug has been marked as a duplicate of bug 70843 ***
Comment 4 Buovjaga 2019-08-11 11:14:43 UTC

*** This bug has been marked as a duplicate of bug 43021 ***