Bug 161079 - Text in Textbox is not visible in dark themes
Summary: Text in Textbox is not visible in dark themes
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: preBibisect, regression
Depends on:
Blocks: Textbox Dark-Mode Automatic-Color
  Show dependency treegraph
 
Reported: 2024-05-14 22:59 UTC by nobu
Modified: 2024-08-28 09:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot for Ubuntu 22.04 + GNOME 42.9 + LO 24.8alpha0+ (112.60 KB, image/png)
2024-05-15 00:25 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2024-05-14 22:59:42 UTC
Description:
Text in Textbox is not visible in dark themes.

Steps to Reproduce:
1. Change dark theme in Option
2. Open New  Calc
3. Insert Textbox and Write some Text.
4. Select cell outside the Textbox.

Actual Results:
5. Text Color in Textbox is Dark Color ( maybe Black ).

Expected Results:
5. Text Color in Textbox is Light Color ( maybe White ).
In Impress and Draw, the text colour is inverted according to the theme.


Reproducible: Always


User Profile Reset: No

Additional Info:
Reproducible with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 47664e282da4999b8e471a6a916d7ec80414ac18
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 10240); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded
Comment 1 Stéphane Guillou (stragu) 2024-05-15 00:24:12 UTC
Reproduced on Linux, with fresh profile and application colours scheme changed to "Automatic: Dark":

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0dcaff6043e1f24ce0fa354dff80a86e40622247
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 2 Stéphane Guillou (stragu) 2024-05-15 00:25:10 UTC
Created attachment 194122 [details]
screenshot for Ubuntu 22.04 + GNOME 42.9 + LO 24.8alpha0+
Comment 3 Stéphane Guillou (stragu) 2024-06-03 03:45:11 UTC
In OOo 3.3, text would be white in and out of edit mode -> regression.

In 3.4.0 all the way to 7.5.9, font would be dark in and outside of edit mode.

Since 7.6 and Paris' 53d5cc538d9c274cc4d7dfe38229f0f54706b403, font is light in edit mode (good) but still dark out of edit mode (bad).
Paris, copying you in in case you are interested.

Caolán, you might be interested too.

(In reply to nobu from comment #0)
> In Impress and Draw, the text colour is inverted according to the theme.
(This is resolved for bug 161057.)
Comment 4 Timur 2024-08-28 09:09:17 UTC
Seems good now in 25.2. 
I assume it is https://gerrit.libreoffice.org/c/core/+/172425.
Bibi repo not updated yet, so verification would be nice.