Bug 165297 - GTK: some buttons are white in Base
Summary: GTK: some buttons are white in Base
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Sahil Gautam (allotropia)
URL:
Whiteboard: target:25.8.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Database-Queries
  Show dependency treegraph
 
Reported: 2025-02-17 15:59 UTC by Xisco Faulí
Modified: 2025-04-03 23:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (26.23 KB, image/png)
2025-02-17 15:59 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2025-02-17 15:59:17 UTC
Created attachment 199251 [details]
Screenshot

Steps to reproduce:
1. Open attachment 199246 [details] from bug 165295
2. Go to Queries - Use Wizard to Create Query

-> Some buttons are completely white. See comparison

Reproduced in

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7da1497aa462e2b719aa9b308a749caf7b9a19b1
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2025-02-17 16:00:06 UTC
Regression introduced by

commit 924c7de80afa47a93705e5d073c35f2d81f4ed5a	[log]
author	Sahil Gautam <sahil.gautam.extern@allotropia.de>	Wed Dec 25 23:13:47 2024 +0530
committer	Sahil Gautam <sahil.gautam.extern@allotropia.de>	Tue Jan 28 14:02:56 2025 +0100
tree 61084397109d550da648c4a0f2ebfaa4eb89ef15
parent 795e6f6f3e5ab8201dabde65e9b3b939293d34a4 [diff]

tdf#164393 [API CHANGE] Make the "Automatic" theme Customizable

Bisected with linux64-25.8
Comment 2 Commit Notification 2025-04-03 11:40:38 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/295fee0f78c002ca20708fdfd57d52b0e4ce0d87

tdf#164969 tdf#165297 Disable theming by default

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Michael Weghorn 2025-04-03 11:43:20 UTC
The commit from comment 2 disables widget theming by default, so the issue no longer occurs in a default setup.

It can still be reproduced by explicitly setting the officecfg::Office::Common::Appearance::LibreOfficeTheme expert setting to 1.

I'll leave it Sahil to decide whether he wants to close this issue or use it for keeping track of that.
Comment 4 Sahil Gautam (allotropia) 2025-04-03 23:55:30 UTC
i would still keep the ticket because disabling theming does not imply that "theming reads the default colors properly", and this issue is caused by the latter. i have looked into the issue on various occasions and have some leads to what might be causing it (just wasn't able to pin point)