https://bugs.documentfoundation.org/show_bug.cgi?id=173219

            Bug ID: 173219
           Summary: Buttons missing when Plasma's native message dialog is
                    used (qt6/kf6)
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 130857

In
https://invent.kde.org/plasma/plasma-integration/-/commit/e95889873fb03efbc1cea4d41b330f9243f5f626
, KDE Plasma introduced a native QMessageBox backend that gets used instead of
the standard dialog from Qt's qtbase module.
However, when this is used with native Qt widgets in LibreOffice, message
dialogs are missing buttons, e.g. in the "Save Document?" dialog, making it
impossible to save the document or do anything useful at all.

# Sample steps to reproduce

1) Use KDE Plasma in a version containing the above-mentioned commit (e.g.
Debian testing with package plasma-integration 6.7.4-1)
2) start LO Writer with the qt6 or kf6 vcl plugin and native Qt widgets
enabled, by setting environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 (see
also tdf#130857)
3) type a few words
4) "File" -> "Exit LibreOfficeDev"

# Actual result:
A "Save Document?" dialog appears, but it only has a single "OK" button and
LibreOffice crashes when clicking that one.

# Expected result:
The "Save Document?" dialog should have 3 buttons: "Cancel", "Don't Save",
"Save", and clicking any of those should result in the corresponding action.

# Further information

No problem when not using the native KDE Plasma message dialog, e.g. by using a
self-compiled Qt git dev.

Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: 30134a14fce68b67d5d95cbf019e5461c6859a99
CPU threads: 32; OS: Linux 7.1; UI render: default; VCL: kf6 (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=130857
[Bug 130857] qt5/qt6: implement theming using native Qt widgets (weld)
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to