This is a follow-up bug of bug 104141 Steps: 1. Open attachment 128987 [details] from bug 104141 2. go to full-screen Observed behaviour: gif's background is flashing black and white Reproduced in Version: 6.0.0.0.alpha0+ Build ID: 50799a721c7ddcf9475a1b79984ed64ddd7cdf57 CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
I can't reproduce it in Version: 6.0.0.0.alpha0+ Build ID: e0b6a4a2d2dec4e9614f27fc03f84b1c578028ec CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group (recently introduced)
Confirmed with a recent master build / Ubuntu 17.04.
Regression introduced by: author Caolán McNamara <caolanm@redhat.com> 2017-07-26 13:37:40 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2017-07-26 15:58:47 (GMT) commit d148340babf6c973f7d463909d7a51e16c953248 (patch) tree 50e0196392d19c51704ade91d1f99924d9df70bb parent 38df569a66fb038b10c3d1d9890863592c0c29cc (diff) Resolves: tdf#104141 CAIRO_FORMAT_A1 vs N1BitLsbPal where vcl transparency is the opposite of cairo's so we've been switching the source color to the opposite for drawing on CAIRO_FORMAT_A1 and then sucking out the bits "as-is" to give the right results. Now instead use the right source color and toggle CAIRO_FORMAT_A1 bitmaps to N1BitLsbPal in getBitmap. Then additionally toggle all N1BitLsbPal bitmaps input to drawBitmap to CAIRO_FORMAT_A1 when making a cairo surface from them. Bisected with bibisect-linux64-6.0. Adding Cc: to Caolán McNamara
mostly missing the palette entries to state what is black and what is white in the 1 bit depth bitmaps in svp
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=67951d08ddd20ac87fc7eb54a90cb81901a89f8c Resolves: tdf#111073 incorrect gif background color It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.0.0.0.alpha0+ Build ID: 383aab7ed63bf30931c1cf89138707d2228b5dce CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group