https://bugs.documentfoundation.org/show_bug.cgi?id=144084
Bug ID: 144084
Summary: FilePicker service does not display Open and Cancel
button
Product: LibreOffice
Version: 7.2.0.4 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
When I try too select a file, the Open and Cancel button do not appear.
I run a Linux Ubuntu.
Steps to Reproduce:
Try to select a file with the following code :
Option Explicit
Sub OuvrirUnFichier()
Dim FP As Object, lesFichiers() As String
FP = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
FP.DisplayDirectory = ConvertToURL("/home/didier/")
FP.appendFilter("Textes", "*.txt")
FP.appendFilter("Documents ODF", "*.odt;*.ods;*.odg,*.odp")
FP.appendFilter("Documents MS-Office", "*.doc;*.xls;*.ppt")
FP.CurrentFilter = "Documents ODF"
FP.Title = "Choisissez le fichier à traiter"
if FP.execute = com.sun.star.ui.dialogs.ExecutableDialogResults.OK then
lesFichiers() = FP.Files
MsgBox(FP.CurrentFilter, 0, "Filtre choisi")
MsgBox(FP.DisplayDirectory, 0, "Répertoire")
MsgBox(lesFichiers(0), 0, "Chemin complet")
end if
FP.dispose
End Sub
Actual Results:
Can't select the chosen file ...
It's a regression ...
Expected Results:
To be able to select the file ..
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.