Bug 95722 - FilePicker setDefautlName dont work when FILESAVE_SIMPLE template
Summary: FilePicker setDefautlName dont work when FILESAVE_SIMPLE template
Status: RESOLVED DUPLICATE of bug 43021
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-10 10:03 UTC by Julien Chavant
Modified: 2019-08-11 11:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***