Bug 163467 - FORMATTING: white text on light background does not display properly
Summary: FORMATTING: white text on light background does not display properly
Status: RESOLVED DUPLICATE of bug 162706
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords: bibisected
Depends on:
Blocks:
 
Reported: 2024-10-16 10:35 UTC by Jazevedo
Modified: 2024-10-28 13:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file to reproduce the issue (191.64 KB, application/vnd.oasis.opendocument.graphics)
2024-10-16 10:35 UTC, Jazevedo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jazevedo 2024-10-16 10:35:02 UTC
Created attachment 197082 [details]
Sample file to reproduce the issue

Opening a .odg file with white text on light background does not display properly.

Steps to reproduce:
1 - Open the sample file in latest master build
2 - Open the sample file in LO 7.6 or any previous version to compare the differences

Current result: The text does not display properly on a light background. The fonts continues to be white.

Expected Result: It should be black the font color. To display properly. 

Affected versions: 24.02, 24.04, 24.08, 25+alpha

Reproducible: Always

User Profile Reset: No

This bug is present in Libreoffice since: 24.2.0.0.alpha0

A Bibisect traces the issue to this commit:

https://gerrit.libreoffice.org/c/core/+/154352/10#message-6f4cd6b13589eb06f49bf87ec8908ab40c4ee254

> Resolves tdf#156182 - Automatic text color unreadable with darker cells

> Change-Id: Ia5e405fc05613726b5011174c8d00ca204eb31b2
> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154352
> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
> Tested-by: Jenkins
> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Comment 1 Timur 2024-10-16 10:57:34 UTC
Bisect is most useful to point to the origin, but then source commit ddb483509113e469b771320fea52f1b089574021 should be searched for in BZ. 
This one is many tickets, including my bug 162706 which was marked as a dupe of 149571.
Also gerrit suggests that Xisxo Created a revert of this change as Ie681768ecb332d9aad0218e0e06557ed45a268fa on 04.10.2024.
Let us recheck.
Comment 2 Timur 2024-10-16 11:12:17 UTC
..2023.
This seems a dupe.

*** This bug has been marked as a duplicate of bug 162706 ***
Comment 3 Commit Notification 2024-10-28 13:21:18 UTC
Pranam Lashkari committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/65fea94ac08fa9f428250098aa527ab072a378f3

tdf#163467 svx: calculate fill color with transparency

It will be available in 25.2.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.