Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@vashworth
Copy link
Contributor

@vashworth vashworth commented Nov 28, 2023

Fixes flutter/flutter#138193.

Was first attempted to fix in #48096, but that was not reliable since it's all asynchronous.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard
Copy link

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 or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use 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.

@vashworth
Copy link
Contributor Author

if (!_firstFrameBegan) {
channelBuffers.setListener('flutter/lifecycle', _onPlatformMessage);
}
_firstFrameBegan = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this change also necessary to fix the issue? will moving this call from firstFrame to the init cause any problem?

Copy link
Contributor Author

@vashworth vashworth Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part of the change is basically just undoing my first attempt at a fix (#48096), which was still flakey. So no, it shouldn't cause any problems as this was as the code originally was

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha!

@stuartmorgan-g
Copy link
Contributor

test-exempt: is a test

@vashworth vashworth added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 28, 2023
@auto-submit auto-submit bot merged commit 01fcec7 into flutter:main Nov 28, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 28, 2023
XilaiZhang pushed a commit to XilaiZhang/engine that referenced this pull request Dec 19, 2023
auto-submit bot pushed a commit that referenced this pull request Dec 19, 2023
…undForegroundScenar… (#49247)

�io (#48456)

Fixes flutter/flutter#138193.

Was first attempted to fix in #48096, but that was not reliable since it's all asynchronous. 

-------------------------------------------

cherry pick to fix mac unopt failures on stable branch: 
https://flutter-dashboard.appspot.com/#/build?repo=engine&branch=flutter-3.16-candidate.0
bryanoltman added a commit to shorebirdtech/engine that referenced this pull request Jan 2, 2024
* [CP] Fix _availability_version_check for iOS 11 and 12 (flutter#48926)

CP of flutter@5587d26 into 3.16 for flutter/flutter#138711.

* [CP] [Impeller] Turn off Aiks bounds tracking for filtered SaveLayers. (flutter#49198)

Cherry-pick for flutter#49076.

For issue: flutter/flutter#139294

* [CP] Fix for AnimatedOpacity affects blended color overlay render (flutter#49190)

This PR cherry-picks the following two commits:

flutter@2dbc5d2
flutter@0b0fab8

to address flutter/flutter#139571

* [cherrypick-stable]Skip unexpected events in MultiPlatformViewBackgroundForegroundScenar… (flutter#49247)

�io (flutter#48456)

Fixes flutter/flutter#138193.

Was first attempted to fix in flutter#48096, but that was not reliable since it's all asynchronous. 

-------------------------------------------

cherry pick to fix mac unopt failures on stable branch: 
https://flutter-dashboard.appspot.com/#/build?repo=engine&branch=flutter-3.16-candidate.0

---------

Co-authored-by: Zachary Anderson <[email protected]>
Co-authored-by: Brandon DeRosier <[email protected]>
Co-authored-by: Xilai Zhang <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-[UnobstructedPlatformViewTests testMultiplePlatformViewsWithOverlays] test flaky on macOS 13.6.1

3 participants