-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Make scenario app have translucent splash screen so it doesn't affect screenshot colors #51329
Make scenario app have translucent splash screen so it doesn't affect screenshot colors #51329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best 1 line change of 2024.
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
…n't affect screenshot colors (flutter/engine#51329)
Skips animations Looks like this, for reference: [no_animation_example.webm](https://github.com/flutter/engine/assets/34871572/0c8665a3-b546-4bbd-b7e1-00851c48e1ff) (This is the animation from #51329, so note that the first test looks weird because I lagged my emulator by alt tabbing). [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…ions) (#145002) Manual roll requested by zra@google.com flutter/engine@6cefbe1...6771307 2024-03-11 ditman@gmail.com [web] Split initialization of the _flutter namespace and loader object. (flutter/engine#51294) 2024-03-11 skia-flutter-autoroll@skia.org Roll Dart SDK from 09a1a1ede1c4 to 7a2c94fd0a26 (1 revision) (flutter/engine#51338) 2024-03-11 skia-flutter-autoroll@skia.org Roll Skia from 6f10903e2d28 to 32f1cb50734a (5 revisions) (flutter/engine#51331) 2024-03-11 34871572+gmackall@users.noreply.github.com Make scenario app have translucent splash screen so it doesn't affect screenshot colors (flutter/engine#51329) 2024-03-11 zanderso@users.noreply.github.com [gn] Change sdk_rewriter() template to use depfiles (flutter/engine#51314) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Makes the scenario app splash screen have a translucent color, so it doesn't end up overlaying on screenshots.
Before:
device-2024-03-07-152047.webm
After:
translucentsplash.webm
This sort of fixes flutter/flutter#144657? The issue is still odd to me, though, because I don't know why the test runner wouldn't be waiting properly for the splash screen.
Bonus, this is what it looks like if we change the runner to not use animations, with
--no-window-animation
(but don't include the splash screen change):no_animation_example.webm
You can see there is still a moment of color change at the end of tests (ignore the very first test I was alt tabbing and lagged out my emulator).
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.