Description: (originally reported against the ubuntu package: https://launchpad.net/bugs/1750982) subsequent_filters-test.cxx:2398:Assertion Test name: ScFiltersTest::testOrcusODSStyleInterface equality assertion failed - Expected: Color: R:254 G:255 B: 204 - Actual : Color: R:255 G:255 B: 255 This is most likely caused by that upstream change: https://gitlab.com/orcus/orcus/commit/f821995022df8dd1e580dd22cf131584b2b1ac4f Steps to Reproduce: Build libreoffice 6.0 with an external liborcus (version 0.13.3) and run the unit tests. Actual Results: ScFiltersTest::testOrcusODSStyleInterface fails. Expected Results: All unit tests pass. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.73 Chrome/65.0.3325.73 Safari/537.36
https://github.com/LibreOffice/core/commit/20945a9a4de6684010fd5b3603595e6da543807d mentions that liborcus 0.13.3 is expected to have the correct ODF styles, so I assume the unit tests will have to be updated.
Tentative patch (untested, might not be complete): --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -839,7 +839,7 @@ void ScOrcusStyles::fill::applyToItemSet return; } - rSet.Put(SvxBrushItem(maBgColor, ATTR_BACKGROUND)); + rSet.Put(SvxBrushItem(maFgColor, ATTR_BACKGROUND)); }
Hello Olivier, Since this is an issue in the building system and not in the software itself, would you mind sending an email to the dev mailing list instead adding Kohei as Cc? -> https://wiki.documentfoundation.org/Development/Mailing_List Setting as RESOLVED MOVED Sorry for the inconveniences.
I can do that for sure, but as soon as the dependency on liborcus is bumped to 0.13.3 it will become an issue in libreoffice, requiring changes in the codebase. So I'm not sure I agree it's not an issue in the software itself. It's just that it hasn't manifested itself yet, but it eventually will.
Moved conversation to the mailing list: https://lists.freedesktop.org/archives/libreoffice/2018-February/079531.html