Bug 139140 - KDE: Notebookbar Styles Preview doesn't show correct font colour for paragraph styles that are automatic
Summary: KDE: Notebookbar Styles Preview doesn't show correct font colour for paragrap...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5 Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2020-12-22 03:08 UTC by Nicholas van Oudtshoorn
Modified: 2022-08-16 07:43 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the styles inspector. (32.23 KB, image/png)
2020-12-22 03:09 UTC, Nicholas van Oudtshoorn
Details
Screenshot styles preview (119.51 KB, image/png)
2021-02-21 15:51 UTC, Sebastiaan Veld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas van Oudtshoorn 2020-12-22 03:08:40 UTC
Description:
Using the Tabbed notebookbar, I like the way the Styles Preview panel is starting to look. (Different bug, I know, but I'd love to see context menu's there to change the styles from the toolbar).

The problem is that, under KDE at least, the style preview font colour only works if it is explicitly set. Any paragraph styles with automatic font colour is rendered as white text on a white background.

A workaround is to set a style's font colour to something manually.

Perhaps related to bug #98253, where a similar problem occured in the sidebar.

Steps to Reproduce:
1. Open a writer document using the KF5 VCL
2. Switch to the Tabbed NoteBookBar, and into the Home tab
3. Notice in the styles preview pane that only fonts without automatic font colours are shown.

Actual Results:
Styles with the font colour set to automatic don't render properly.

Expected Results:
Automatic font colour should render appropriately. :-)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+
Build ID: dfd69eb0ce4d1bb0442d65be2fcd8741fe9cb6ef
CPU threads: 4; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-12-19_03:46:59
Calc: threaded
Comment 1 Nicholas van Oudtshoorn 2020-12-22 03:09:59 UTC
Created attachment 168393 [details]
Screenshot of the styles inspector.

This screenshot is using the Breeze Dark colour theme, but the bug is also present using the regular (light) Breeze colour theme.
Comment 2 Sebastiaan Veld 2021-02-21 15:51:12 UTC
Created attachment 169942 [details]
Screenshot styles preview

Have the same issue running LO on openSUSE Tumbleweed;

Version: 7.1.0.3 / LibreOffice Community
Build ID: 10(Build:3)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2022-02-16 14:44:04 UTC
It's working fine for me, can you please test with 7.3? There was only bug 143367, but it is for when the font has been explicitly set to white.

Arch Linux 64-bit
Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.3.0-4
Calc: threaded
Comment 4 QA Administrators 2022-08-16 04:00:58 UTC Comment hidden (obsolete)
Comment 5 Nicholas van Oudtshoorn 2022-08-16 07:36:42 UTC
This is no longer an issue for me on the latest nightly.