Bug 152846 - LibreOffice UI (kf5 with Oxygen style) - Unsightly white rectangles around malformed drop-down widgets
Summary: LibreOffice UI (kf5 with Oxygen style) - Unsightly white rectangles around ma...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5
  Show dependency treegraph
 
Reported: 2023-01-02 17:01 UTC by crptdngl71
Modified: 2025-06-10 11:50 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Image showing rectangles in LO Writer Einstellungen (101.79 KB, image/png)
2023-01-02 17:07 UTC, crptdngl71
Details
Screenshot with current master and oxygen style (76.37 KB, image/png)
2023-03-17 14:38 UTC, Michael Weghorn
Details
Annotated screenshots showing Oxygen widgets with text too far to the left (593.38 KB, image/png)
2025-06-10 11:00 UTC, John L. ten Wolde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crptdngl71 2023-01-02 17:01:03 UTC
Description:
When opening the "settings" menu of LibreOffice Writer there are clearly visible unwanted unnecessary white rectangular areas behind all list menus that have an arrow to toggle opening/closing the full menu.
Full version info below.

Steps to Reproduce:
1. Run LO Writer
2. Select "Extras" -> "Optionen" -> Ansicht


Actual Results:
2. The "Ansicht" Window has got several options that have a list menu with an arrow in it to toggle opening/closing the full list of options for this entry. All of them have a clearly visible white rectangular area placed behind the list menu.

Expected Results:
2. There should be no white rectangles behind list menus.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 7.4.4.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.utf8); UI: de-DE
Debian package version: 1:7.4.4~rc2-2
Calc: threaded
Comment 1 crptdngl71 2023-01-02 17:07:26 UTC
Created attachment 184453 [details]
Image showing rectangles in LO Writer Einstellungen
Comment 2 Robert Großkopf 2023-01-17 14:02:19 UTC
Can't see white rectangles here with OpenSUSE 15.3 64bit rpm Linux.
Which style do you use in KDE?

Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 3 crptdngl71 2023-01-17 21:31:26 UTC
KDE Style is Breeze.
Comment 4 Michael Weghorn 2023-03-17 14:38:42 UTC
Created attachment 186025 [details]
Screenshot with current master and oxygen style
Comment 5 Michael Weghorn 2023-03-17 14:42:11 UTC
(In reply to crptdngl71 from comment #3)
> KDE Style is Breeze.

Are you sure? The screenshot very much reminds me of the Oxygen style that was default in KDE Plasma 4 days.

While I don't see the issue with Breeze here, I can actually reproduce the behavior when forcing the use of Oxygen by setting environment variable QT_STYLE_OVERRIDE="oxygen" before starting LibreOffice.

Can you please double-check whether you still see that after setting environment variable QT_STYLE_OVERRIDE="breeze"? And whether it looks any different from your current setup if you explicitly set QT_STYLE_OVERRIDE="oxygen"?

Anyway, setting to NEW, since I can reproduce with oxygen.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c832bd2103a22c78a6790de9f10ab478ca657b23
CPU threads: 12; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 6 crptdngl71 2023-03-18 08:43:45 UTC
I have checked again.

"Global Design" ("Globales Design") is set to "Breeze".

"Anwendungs-Stil" is set to "Oxygen". Sorry for the confusion here.

I can confirm that with "Anwendungs-Stil" set to "Breeze" or "Fusion" etc. the white rectangles are not visible.
Comment 7 Michael Weghorn 2023-03-18 09:18:50 UTC
(In reply to crptdngl71 from comment #6)
> I have checked again.
> 
> "Global Design" ("Globales Design") is set to "Breeze".
> 
> "Anwendungs-Stil" is set to "Oxygen". Sorry for the confusion here.
> 
> I can confirm that with "Anwendungs-Stil" set to "Breeze" or "Fusion" etc.
> the white rectangles are not visible.

Thanks for the clarification!
Comment 8 Buovjaga 2024-09-19 17:25:58 UTC
Still repro with Oxygen.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d500848976b6244048684a9972322b582559910a
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 19 September 2024
Comment 9 John L. ten Wolde 2025-06-10 11:00:51 UTC
Created attachment 201173 [details]
Annotated screenshots showing Oxygen widgets with text too far to the left

I still use the Oxygen theme every day and have also put up with this bug for ages, so I'll give this report a bump.

Honestly, I don't think the white rectangles are the issue, but believe they're a byproduct or symptom of another underlying problem:  the text of many widgets is placed too far to the left.  In the static drop-downs this manifests with white rectangles that are caused, I suspect, by malformed bounding boxes or missing text padding or something.  Text-entry drop-downs and spin-boxes suffer from this same affliction as well, just without the obvious white rectangles.

It's much easier to show than tell, so please take a look at the annotated screenshots presentation I've attached.
Comment 10 John L. ten Wolde 2025-06-10 11:46:21 UTC
When I first stumbled across this report, I jumped on it without noticing it was filed exclusively under Writer, but this issue is not at all exclusive to Writer; it affects every LO component and should be filed under UI.

I'm going to take the liberty of making some changes, including revising the title.  Hopefully that will get this bug the attention it's been missing for over a year and a half...