flutter_svg icon indicating copy to clipboard operation
flutter_svg copied to clipboard

Svg's Blend mode don't work when scroll is end.

Open TalentCraftDev opened this issue 5 years ago • 10 comments

I used this package in my flutter project.

SingleChildScrollView( child: Column( children: [ ...... other components ..... SvgPicture.asset( "path", width: 200, height: 200, fit: BoxFit.cover, ), ...... other components ..... ], ) ) Svg file have some blend mode properties. https://drive.google.com/file/d/1lL1sYKFUWxtLXMX1RHZMJUc-Usq_Xq7R/view

This is svg file https://drive.google.com/file/d/1l5IMaaNeq2s9BK3P7joCkHiOW5WzPMgh/view?usp=sharing

As usual , svg is working well. But, when start scrolling and scroll is end, svg's blend mode don't work. I will attach capture video. https://drive.google.com/file/d/1Qtk_RU9GGwQdgMN4_Oxa3TZec7sGoYOv/view

I will wait for good news

Thanks for your time.

TalentCraftDev avatar Oct 28 '20 12:10 TalentCraftDev

The links seem to be broken.

dnfield avatar Oct 28 '20 18:10 dnfield

Also, can you please share a full reproduction including sample SVG?

dnfield avatar Oct 28 '20 18:10 dnfield

Okay sir. I will share source code.

TalentCraftDev avatar Oct 29 '20 02:10 TalentCraftDev

There is xd file including svg file and some screenshots https://drive.google.com/drive/u/0/folders/1tpqykNvjYHC23shN9y3TsPgVLuz3c_oh

This is the test project. svg_issue.zip

As you can know if you check and run the project, I added the same 2 svg file. but 1th svg file is okay, but 2th svg file don't working well.

TalentCraftDev avatar Oct 29 '20 02:10 TalentCraftDev

Hello sir. could you help me?

TalentCraftDev avatar Oct 30 '20 08:10 TalentCraftDev

I am not able to reproduce this bug.

I strongly suspect this is a Skia related issue on a specific device. It would help to know what specific device/GPU model you're seeing this on - it should be possible to create a reduced reproduction for the Skia team to look at.

dnfield avatar Nov 10 '20 23:11 dnfield

I tested samsung phone and Huawei. Huawei: CPU: Qualcomm Snapdragon 450 GPU: OpenGL

TalentCraftDev avatar Nov 11 '20 06:11 TalentCraftDev

I don't have access to those devices at the moment :\

dnfield avatar Nov 12 '20 20:11 dnfield

sorry sir. What's mean? Don't you have those device?

TalentCraftDev avatar Nov 12 '20 20:11 TalentCraftDev

Or Do you have samsung phone? Samsung Galaxy A8s

TalentCraftDev avatar Nov 12 '20 20:11 TalentCraftDev