You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With GlobalUseSkia = True you'll see that the progress bar never shows its bar, AND the track bar's track is empty in addition to it having an empty, non-filled circle for the thumb.
With GlobalUseSkia =FALSE, it displays as expected, both the progress bar AND Track bar's thumb and track are correct.
My guess is that this has something to do with gradient fills in the style sheets...
The text was updated successfully, but these errors were encountered:
I've just noticed this on a TRectangle with gradient fill since updating to Skia4Delphi 5.0.0.
This is on an FMX project and affects Windows, iOS and Android builds.
Reproduce:
Create a new Multi Device project (FMX)
Add a TRectangle. Set Fill.Kind to Gradient
Run it and it looks ok
Right-click the project, choose Enable Skip
Run the project again. The rectangle now appears empty
100% reproducible on all platforms.
Could you please look into this ASAP as it's a big issue for apps like ours that use gradients which no longer show at all.
Thanks for letting us know. I'll see if this can get looked at ASAP. I've raised a message in the Telegram group too although here in GitHub is the best place for bugs.
Well, not sure if this will work for anyone else but I found the following workaround for a FMX project:
Copy file Skia.FMX.Graphics.pas from Skia installation to Delphi project.
Locate procedure TSkCanvasCustom.BeginPaint (line 1407), and at the very beginning change FPaint.Alpha := 0 to FPaint.Alpha := 255.
After compilation gradients are painted correctly. The project I tested this is very simple so I'm unaware of any side effects this could have on more complex scenarios.
See Attached Project Sample
FMXStyleRenderBug.zip
With GlobalUseSkia = True you'll see that the progress bar never shows its bar, AND the track bar's track is empty in addition to it having an empty, non-filled circle for the thumb.
With GlobalUseSkia =FALSE, it displays as expected, both the progress bar AND Track bar's thumb and track are correct.
My guess is that this has something to do with gradient fills in the style sheets...
The text was updated successfully, but these errors were encountered: