[Libreoffice-bugs] [Bug 144084] New: FilePicker service does not display Open and Cancel button
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 25 11:04:15 UTC 2021
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: libreoffice-bugs at lists.freedesktop.org
Reporter: ddorange at dmaths.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210825/4ae56c8d/attachment.htm>
More information about the Libreoffice-bugs
mailing list