Bug 131978 - With dark color theme spell checking dialog is unreadable
Summary: With dark color theme spell checking dialog is unreadable
Status: RESOLVED DUPLICATE of bug 142631
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Spell-Checking-Dialog
  Show dependency treegraph
Reported: 2020-04-08 07:01 UTC by Ville Aakko
Modified: 2022-09-28 14:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Spell checking dialog with dark theme and an unreadable text (47.76 KB, image/png)
2020-04-08 07:03 UTC, Ville Aakko
Screenshot of spellcheckin (F7) (49.86 KB, image/png)
2021-07-09 08:09 UTC, benjamin

Note You need to log in before you can comment on or make changes to this bug.
Description Ville Aakko 2020-04-08 07:01:46 UTC
With a dark theme, spell check dialog is unreadable.

Similar issue was present in the formula editor in bug 90297, but was fixed previously. I'm mentioning it here since I think there is a more in-depth core issue here; parts defining default colors do not have a consistent background color in every place of the UI. I.e. in Options -> Libreoffice -> Colors: a default color for the text can be chosen. If left at automatic, this will be black, since it makes sense since the document (paper) background is most often white. However, this does *not* need to be same as the background of the UI. In the case of dark themes it is not. 

Still, this same color is being applied to the UI, at least in the spell checker. There may be other places where this is applied, too.

If I change this color from automatic to something else, the spell checking dialog can be readable, but this will also change the default (unformatted) color of the document text.

Suggestion: it should be made sure (and the dialog changed appropriately) this option is only used for document. UI color options should be separate and clearly marked as such.

Steps to Reproduce:
1. Choose a dark theme
2. Leave default document "text color" and "background" as is
3. open spell checking dialog

Actual Results:
Spell checking dialog background is dark (as expected), but document default color is used here for the text, which makes it unreadable.

Expected Results:
The dialog should be readable.

Document colors should be separate from document colors. LibreOffice should notice a dark theme and apply it's colors in all places of the UI, and/or have clear way to set these separately in the Options.

Reproducible: Always

User Profile Reset: No

Additional Info:
Koontiversion tunnus: 6.4.2-2
CPU-säikeet: 8; Käyttöjärjestelmä: Linux 5.6; Käyttöliittymän piirtäminen: oletus; VCL: gtk3; 
Maa-asetus: fi-FI (fi_FI.UTF-8); Käyttöliittymän kieli: fi-FI
Calc: CL
Comment 1 Ville Aakko 2020-04-08 07:03:25 UTC
Created attachment 159410 [details]
Spell checking dialog with dark theme and an unreadable text

The example text I've used here to produce this example screenshot was taken from here: http://jkorpela.fi/kielenopas/2.2.html
Comment 2 Buovjaga 2020-07-20 15:01:56 UTC
*** Bug 133306 has been marked as a duplicate of this bug. ***
Comment 3 Buovjaga 2020-07-20 16:10:18 UTC
I confirm with Breeze Dark chosen from KDE Plasma Colors settings. Tested with bibisect repos and it looks like dark color themes did not work earlier. I don't have any dark GTK3 themes to test with.

Arch Linux 64-bit
Build ID: 72186f02c118e9f5602e15c2bac9b3ac19987f93
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 July 2020
Comment 4 benjamin 2021-07-09 08:09:08 UTC
Created attachment 173466 [details]
Screenshot of spellcheckin (F7)
Comment 5 Timur 2022-09-28 14:52:50 UTC

*** This bug has been marked as a duplicate of bug 142631 ***