<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - KDE: Notebookbar Styles Preview doesn't show correct font colour for paragraph styles that are automatic"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139140">139140</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>KDE: Notebookbar Styles Preview doesn't show correct font colour for paragraph styles that are automatic
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vanoudt@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - SIDEBAR: Style preview not visible if text is set to automatic color"
   href="show_bug.cgi?id=98253">bug #98253</a>, 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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>