Skip to content
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

fix FlutterOverlayView doesn't remove from superview in some cases #9532

Merged
merged 1 commit into from
Jun 27, 2019
Merged

fix FlutterOverlayView doesn't remove from superview in some cases #9532

merged 1 commit into from
Jun 27, 2019

Conversation

Qxyat
Copy link
Contributor

@Qxyat Qxyat commented Jun 27, 2019

1.Problem
flutter/flutter#35177

2.Demo
https://github.com/Qxyat/Flutter-demo/tree/master/platform_view_demo

3.Solution
The 'views_to_dispose_' cache the view removed in 'OnDispose',and the overlays_ attach to that 'viewId' should also remove from superview.

@Qxyat
Copy link
Contributor Author

Qxyat commented Jun 27, 2019

@cyanglaz Would you please take a look at this?

Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

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

Good catch! LGTM!

@cyanglaz cyanglaz merged commit 6f7700f into flutter:master Jun 27, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 27, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Jun 27, 2019
flutter/engine@2bce4ed...6f7700f

git log 2bce4ed..6f7700f --no-merges --oneline
6f7700f fix FlutterOverlayView doesn't remove from superview in some cases (flutter/engine#9532)
f3cc375 Roll fuchsia/sdk/core/mac-amd64 from XT8hP4vbTcjWCQU7H_kwgDtIt2lXCWVgJkMNU252lZ8C to dcGnduqJ5C8ozmUHeeboHC76nOv7s4XfCKIfefQlGkQC (flutter/engine#9538)
bc85f73 Roll fuchsia/sdk/core/linux-amd64 from L_ORUWXyDEC29pSiSyKIwGqcFMQFsV91E3h_wPbUIUkC to SuKWYMSXAMq1uTo9eaIdIOQqBb7Ro-zLyNk01GPOiU8C (flutter/engine#9537)
bf3a310 Roll fuchsia/sdk/core/mac-amd64 from Emw56Db0zg6Cnvgo7myIDZX0Lq-A6DFwEJHiPnr8K38C to XT8hP4vbTcjWCQU7H_kwgDtIt2lXCWVgJkMNU252lZ8C (flutter/engine#9531)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff ([email protected]), and stop
the roller if necessary.
johnsonmh pushed a commit to johnsonmh/flutter that referenced this pull request Jul 30, 2019
flutter/engine@2bce4ed...6f7700f

git log 2bce4ed..6f7700f --no-merges --oneline
6f7700f fix FlutterOverlayView doesn&flutter#39;t remove from superview in some cases (flutter/engine#9532)
f3cc375 Roll fuchsia/sdk/core/mac-amd64 from XT8hP4vbTcjWCQU7H_kwgDtIt2lXCWVgJkMNU252lZ8C to dcGnduqJ5C8ozmUHeeboHC76nOv7s4XfCKIfefQlGkQC (flutter/engine#9538)
bc85f73 Roll fuchsia/sdk/core/linux-amd64 from L_ORUWXyDEC29pSiSyKIwGqcFMQFsV91E3h_wPbUIUkC to SuKWYMSXAMq1uTo9eaIdIOQqBb7Ro-zLyNk01GPOiU8C (flutter/engine#9537)
bf3a310 Roll fuchsia/sdk/core/mac-amd64 from Emw56Db0zg6Cnvgo7myIDZX0Lq-A6DFwEJHiPnr8K38C to XT8hP4vbTcjWCQU7H_kwgDtIt2lXCWVgJkMNU252lZ8C (flutter/engine#9531)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff ([email protected]), and stop
the roller if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants