https://bugs.documentfoundation.org/show_bug.cgi?id=173909
Bug ID: 173909
Summary: The XFilePickerControlAccess.setLabel method does not
change the name of the "Open" button (qt6)
Product: LibreOffice
Version: 27.2.0.0 alpha0+ master
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: [email protected]
Reporter: [email protected]
Blocks: 145734
This is a related to tdf#153330 - to track the same issue for the Qt-based vcl
plugins.
Steps to reproduce, see also tdf#153330 comment 0:
1. run LibreOffice with the qt6 or kf6 vcl plugin on Linux (e.g. built with
autogen option --enable-qt6 and environment variable SAL_USE_VCLPLUGIN=qt6 set
on startup)
2. Tools / Options / LibreOffice / General, uncheck "Use LibreOffice open/save
dialogs".
3. Run the next macro:
Sub TestGetFileOpen()
Dim oFilePicker
oFilePicker = createUnoService("com.sun.star.ui.dialogs.FilePicker")
oFilePicker.initialize(Array(com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_SIMPLE))
With oFilePicker
.setLabel com.sun.star.ui.dialogs.CommonFilePickerElementIds.PUSHBUTTON_OK,
"Select"
If .execute() = 1 Then
Msgbox "Selected file: " &
ConvertFromUrl(oFilePicker.getSelectedFiles()(0))
End If
End With
End Sub
Result: the name of the "Open" button has not changed, but should have changed
to "Select".
Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: 1acf2756db642e214921f35b7ab2c69980c195bc
CPU threads: 32; OS: Linux 7.2; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=145734
[Bug 145734] [META] Qt6/KF6 VCL plugin bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.