Bug 157652 - Fileopen DOCX: Glow effect has exchanged color and transparency
Summary: Fileopen DOCX: Glow effect has exchanged color and transparency
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All other
: medium normal
Assignee: Patrick Luby (volunteer)
URL:
Whiteboard: target:24.2.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-10-07 16:44 UTC by Regina Henschel
Modified: 2023-10-10 19:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Thick glow effect on shape (33.29 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-10-07 16:44 UTC, Regina Henschel
Details
Rendering in Daily and in LO 7.6.2 (91.40 KB, image/png)
2023-10-07 16:48 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-10-07 16:44:52 UTC
Created attachment 190083 [details]
Thick glow effect on shape

Open attached document. It has a shape with a thick glow effect. Notice that the color and the transparency of the the glow effect are exchanged.

I see the problem in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2902ab24ecc5ffbf4907ea83b2028508b9de6364
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

It is OK in Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded
Comment 1 Regina Henschel 2023-10-07 16:48:30 UTC
Created attachment 190084 [details]
Rendering in Daily and in LO 7.6.2
Comment 2 Ezinne 2023-10-08 20:05:42 UTC
Reproducible in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7ef3d937415185ef66e32dd3043783eddcd03db5
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 3 Gabor Kelemen (allotropia) 2023-10-09 11:36:07 UTC
Seems to have started to look like on the image with:

https://git.libreoffice.org/core/+/fe9efb6d5eeba3adf81cd1f33b684fd8f57899f5

author	Patrick Luby <plubius@neooffice.org>	Fri Aug 04 19:42:48 2023 -0400
committer	Patrick Luby <plubius@neooffice.org>	Sat Aug 05 14:27:56 2023 +0200

Related tdf#156508 fix rendering of the About dialog .svg

Before this the orange glow was not displayed at all, so differently bad.

Adding CC to: Patrick Luby
and
Adding CC to: Noel Grandin

First change from the 7.6 rendering, after which the whole square wrapping the triangle became solid orange without glowing, was:

https://git.libreoffice.org/core/+/81994cb2b8b32453a92bcb011830fcb884f22ff3

author	Noel Grandin <noelgrandin@gmail.com>	Fri Apr 16 20:33:10 2021 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	Tue Jul 25 08:38:12 2023 +0200

Convert internal vcl bitmap formats transparency->alpha (II)
Comment 4 Patrick Luby (volunteer) 2023-10-09 13:03:23 UTC
I am able to reproduce this bug. It appears that the Effects > Glow > Radius setting in the Sidebar is what triggers this bug.
Comment 5 Commit Notification 2023-10-09 18:57:27 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c3073c81223e9bf0f499d9fd3cfa8a7e8cb497a5

tdf#157502 and tdf#157652 invert alpha mask

It will be available in 24.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.
Comment 6 Gerald Pfeifer 2023-10-10 09:44:34 UTC
Happy to verify this as fixed with last nights build

  Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 7ef3d937415185ef66e32dd3043783eddcd03db5
  CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

Thank you, Patrick!
Comment 7 Commit Notification 2023-10-10 19:36:53 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0cd5b97acbb3419eb7f550e39a291691373bd878

tdf#157502, tdf#157652: sd_png_export: Add unittest

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