-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove glitches when scrolling on old Android TV devices #37493
Conversation
This pull request was opened against a branch other than main. Since Flutter pull requests should not normally be opened against branches other than main, I have changed the base to main. If this was intended, you may modify the base back to master. See the Release Process for information about how other branches get updated. Reviewers: Use caution before merging pull requests to branches other than main, unless this is an intentional hotfix/cherrypick. |
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
1 similar comment
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
@DenisovAV Can you explain why we are opting android 10 devices into this workaround and how this fixes the problem? Thanks! |
The root cause of the issue is a partial repaint, the implementation causes glitches on some old devices, and is switched off for devices older than Android 9. Actually, glitches are reproduced not only on devices older than Android 9 but also on some devices with Android 9 like MiStick and MiBox, they are low-performance devices but with Android 9(28 API) on board. |
This seems like a pretty blunt instrument to work around the issue. But we apparently already have this in place. If this feature is problematic, perhaps we need a more formal way of disallowing devices. cc @iskakaushik @knopp @reidbaker I have no objections to landing this patch beyond the scattershot/arbitrary way in which the support levels are chosen. |
Android 9 is pretty recent and it's quite surprising that these OpenGL extensions are not working properly. I'm wondering if there are any phones with Android 9 where this fails. |
Any updates on that issue (when it is going to be merged), we also stuck with these artifacts on UI and can't release our app to store |
From Triage: This doesn't look like the ideal solution but we are getting a reports of a lot of folks affected by this. I think we should land this and file a followup to determine if we can be more precise in detecting cases where specific devices are failing. I believe the folks most familiar with this subsystem are already CC'ed to this thread. |
…116387) * fa24f943a feat: add custom cursor interface on windows (flutter/engine#36143) * 1603fa1bb Remove glitches when scrolling on old Android TV devices (flutter/engine#37493)
…lutter#116387) * fa24f943a feat: add custom cursor interface on windows (flutter/engine#36143) * 1603fa1bb Remove glitches when scrolling on old Android TV devices (flutter/engine#37493)
…lutter#116387) * fa24f943a feat: add custom cursor interface on windows (flutter/engine#36143) * 1603fa1bb Remove glitches when scrolling on old Android TV devices (flutter/engine#37493)
…lutter#116387) * fa24f943a feat: add custom cursor interface on windows (flutter/engine#36143) * 1603fa1bb Remove glitches when scrolling on old Android TV devices (flutter/engine#37493)
This PR fixes the issues with glitches on old TV devices.
Glitches when scrolling on weak Android TV devices.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.