Bug 161079

Summary: Text in Textbox is not visible in dark themes
Product: LibreOffice Reporter: nobu <tac725>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: caolan.mcnamara, parisoplop, stephane.guillou
Priority: medium Keywords: preBibisect, regression
Version: 3.4.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=161057
https://bugs.documentfoundation.org/show_bug.cgi?id=125329
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103494, 153293, 157844    
Attachments: screenshot for Ubuntu 22.04 + GNOME 42.9 + LO 24.8alpha0+

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.)