[Libreoffice-bugs] [Bug 138979] New: Dark-colored style previews lack contrast when using a dark theme

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 16 19:14:29 UTC 2020


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

            Bug ID: 138979
           Summary: Dark-colored style previews lack contrast when using a
                    dark theme
           Product: LibreOffice
           Version: 7.0.0.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: octallo at alvarezp.org

Description:
When using a dark-designed theme, styles with automatic color are properly
previewed in the Styles and Formatting pane regardless of the pane dark
background. However, once the text is set to a dark color manually (like 80%
gray) they become invisible / unreadable on the pane.

Considering that the color combination is valid on the virtual paper on screen,
and thus, usable, they should be visible too on the pane.

Same thing happens when inverting the colors: with regular Adwaita and a dark
page with text set to 10% gray: the styles on the pane become almost invisible.

Steps to Reproduce:
1. Install the Adwaita-Dark theme and activate it in the system.
2. Create a new LibreOffice Writer document.
3. Open the Styles and Formatting pane. Observe that the pane has a dark
background but the text is bright-colored despite being --correctly-- black in
the document itself. This is because text color is set to "automatic".
4. Right click on the Default Paragraph Style and choose Modify.
5. On the Font Effects tab, set the text color to 80% gray (or something dark
like that).

Actual Results:
Style previews are unreadable because of lack of contrast.

Expected Results:
Style previews should be readable just like in the page (dark text over white
background).


Reproducible: Always


User Profile Reset: No



Additional Info:
Suggestion: previews for styles without a fixed background should be painted in
the same background as... the current page?

Workaround:
- Turn "show previews" off.

Additional observations:
- When the font is set to automatic, text in the on-screen paper is painted
black and text in the style previews is painted light-gray (or white?)


Version: 7.0.0.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
Debian package version: 1:7.0.0_rc2-1
Calc: threaded

I set the version to 7.0.0.3 because 7.0.0.2 is not on the list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201216/1b131269/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list