https://bugs.documentfoundation.org/show_bug.cgi?id=156629

--- Comment #15 from Patrick Luby <[email protected]> ---
(In reply to Patrick Luby from comment #10)
> I now think that this is a macOS-only bug. If the bug was occurring on
> Windows, you would see the 2x scale gray outline of the elephant in the
> bottom half of the animated image like in
> https://bugs.documentfoundation.org/attachment.cgi?id=188832.
> 
> I forced the native and Skia window scale to always be 1.0f in
> getWindowScaling() in vcl/skia/osx/gdiimpl.cxx and this Skia/Raster scaling
> behavior no longer occurs for this bug or for
> https://bugs.documentfoundation.org/show_bug.cgi?id=156630 so I suspect that
> Skia's window scale is diverging from the native window scale.
> 
> I'll investigate that and submit a separate Gerrit change when I have a fix.

I now suspect that this is a "Skia + window scale is > 1.0" bug. I fixed a
similar case by forcing the alpha mask to be rendered to a bitmap buffer before
constructing a new BitmapEx with it. Maybe we need the same type of fix for
this case?:

https://gerrit.libreoffice.org/c/core/+/155429/4/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to