Open attachment 116752 [details] (a Visio .vsdx file) in LibreOffice 4.4. Observe that in the text box white characters are written with white background (see attachment 116753 [details]). However, in LibreOffice 4.3 the text is white on black background. I wonder, if it is a libvisio bug, or a regression. Bibisect shows that behaviour changed in this commit range: b20e6acea2cb2013f450bb4b97b51142dbb4f161..88bd199e761a165b8add0cebac9f149dc4250829 Suspicious commits in this range: 2727a6d Changed BColor to Color in TextFooPrimitive2D classes c2d5c39 Removed assertion in EditCharAttribBackgroundColor 4bfa845 Associated CharBackColor to EE_CHAR_BKGCOLOR 9ab4387 Added Text Fill Color in TextDecoratedPrimitive2D 6c1fc9e Added Text Fill Color in TextSimplePortionPrimitive2D
@Matteo, your commits are involved in this regression, can you please check? Thanks.
I confirm issue in LibO 4.4.3.2 and recent 5.1.0.0 alpha that file has different look in respect to 4.3.5.2 as Andras described. status NEW
@Andras: Is it any better w/ master? Workaround: you can use the new UI (bug 88276), sidebar or toolbar, to set the background of the text to transparent. Dunno yet if the background is really white and 4.3 just happens to be bug-compatible or if it is transparent and LibO screws it up by importing it as white
(In reply to Katarina Behrens (CIB) from comment #3) > @Andras: Is it any better w/ master? attachment 116754 [details] is the reference rendering (in Visio 2013). Master is not better.
LibreOffice is innocent. Libvisio dumps this: openSpan(fo:background-color: #ffffff, fo:color: #feffff, fo:font-size: 8.0000pt, style:font-name: Calibri, svg:fill-opacity: 100.0000%, svg:stroke-opacity: 100.0000%) insertText (Standard setup 15.000+ concurrent users on one server) closeSpan Note the fo:background-color: #ffffff. It should be transparent. Or the svg:fill-opacity should be 0.
More precisely: 1. When char background is not set, we should not export white. 2. When char background is set, we should export that color, not black (VSDX) Note: unfortunately transparency is not supported in Draw.
https://gerrit.libreoffice.org/16600 https://gerrit.libreoffice.org/16601
Seeing this good, resolving as fixed