Created attachment 154974 [details]
issue found while investigating bug 118776, which is the same problem but for Impress
Steps to reproduce:
1. Open attached document
-> Text 'Hola' is displayed as white. Nothing should be displayed
Build ID: ae7b26246ec03dbff3d43a0dc04fd9ffd2cd0809
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
I confirm it with
Version: 220.127.116.11.alpha0+ (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: de-DE (de_DE); UI-Language: en-US
The text is not in the blue box. It is just normal body text, but it has some "text effects" applied - namely that "No Fill" is applied to the text.
This could be emulated in WriterFilter's TextEffectHandler with:
auto noFillit = aMap.find("noFill");
if (noFillit != aMap.end())
The GetTextFillSolidFillAlpha function is rather new. It came in LO 7.0 with
Author: Miklos Vajna on Wed Jan 15 21:24:17 2020 +0100
sw: add DOCX import for semi-transparent text
Whether it is worth modifying this function (which affects many other things like glow, shadow etc.) to emulate noFill is the question.
As a comment on https://gerrit.libreoffice.org/c/core/+/125300, Miklos wrote:
Hm, this emulation will hurt us one day.