scribble icon indicating copy to clipboard operation
scribble copied to clipboard

fix: Flickering issue in Samsung Galaxy s24, s25+

Open rvharjinderbains opened this issue 5 months ago • 4 comments

Description

I am experiencing a screen flickering issue on certain Samsung S series devices, such as the Galaxy S23 and S25+. The problem occurs while scrolling or drawing. I also tested this using the Scribble repository but encountered the same issue.

Here is the video of my app:- https://drive.google.com/file/d/1GcSo7CO-ij8hTch0aWxHuCynEHbxxlCG/view?usp=sharing Here is the video of the demo repository:- https://drive.google.com/file/d/1HWBJPMPAjvMVULthvHI8ez9MO9q9IRHX/view?usp=sharing

Screenshots This is the Scribble demo app:- https://github.com/user-attachments/assets/8212ef15-7fb6-4558-a586-4475b4ef8c9e

Same issue in my app:-

https://github.com/user-attachments/assets/26c8037a-a8a9-4c14-8819-77e86ed25add

rvharjinderbains avatar Sep 23 '25 10:09 rvharjinderbains

Hi, this seems a lot like an upstream issue. I'm assuming that you're on the latest Flutter version? Have you tried building the app without impeller?

timcreatedit avatar Sep 29 '25 06:09 timcreatedit

Hi @timcreatedit , thanks for getting back to me. I understand this may be related to an upstream issue. I tested by disabling Impeller, and the flickering issue is resolved — the app works fine in that case. Specifically, I added the following in my AndroidManifest.xml:

<meta-data android:name="io.flutter.embedding.android.EnableImpeller" android:value="false" />

Since Flutter has now moved towards Impeller as the default renderer, could you please look into making the plugin compatible with Impeller? At the moment, this issue mainly affects newer Samsung devices such as the Galaxy S23 and S25+, and it impacts both my app and the Scribble demo itself.

Ensuring Impeller compatibility would really help with stability and future support across devices.

Thanks again for your support.

rvharjinderbains avatar Sep 30 '25 06:09 rvharjinderbains

I think this is something we should flag on the Flutter repo. Scribble doesn't really do anything "special" when painting, so there isn't really anything I could do to make it compatible with Impeller. I can look into opening an issue on the Flutter repo. Have you checked if there is maybe an existing issue there about flickering on Impeller with those devices?

timcreatedit avatar Sep 30 '25 06:09 timcreatedit

Thanks for clarifying. That makes sense. I haven’t checked the Flutter repo yet, but I can look into whether there’s an existing issue regarding flickering on Impeller with these Samsung devices.

It would be great if you could also flag it there, as it seems to affect both the Scribble demo and my app.

Thanks again for your help!

rvharjinderbains avatar Sep 30 '25 06:09 rvharjinderbains