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

[Android] Webview was very slow in flutter SDK 3.27.x #2468

Open
2 tasks done
ttb-inc opened this issue Dec 19, 2024 · 4 comments
Open
2 tasks done

[Android] Webview was very slow in flutter SDK 3.27.x #2468

ttb-inc opened this issue Dec 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ttb-inc
Copy link

ttb-inc commented Dec 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Opening and closing a webview in a new window using the navigator was much slower than before.

Pages created with widgets usually don't slow down, but only pages using webviews are exceptionally slow.

This was not the case with the previous flutter SDK 3.24.5 (downgrade test).

I'd love to hear about other people's experiences and tests.
Thanks a lot.

Expected Behavior

You want normal behavior.

Steps with code example to reproduce

Steps with code example to reproduce
step1 : navigator.push(webview0);
step2 : navigator.push(webview1); in webview0

Stacktrace/Logs

...

Flutter version

v3.27.0, v3.27.1

Operating System, Device-specific and/or Tool

Android 34+, Android 31, Android 29,

Plugin version

v6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@ttb-inc ttb-inc added the bug Something isn't working label Dec 19, 2024
@cooaer
Copy link

cooaer commented Dec 20, 2024

same problem

@cooaer
Copy link

cooaer commented Dec 23, 2024

@ttb-inc Set useHybridComposition:false can solve this problem, but I don't know if it will cause new problems.

@ttb-inc
Copy link
Author

ttb-inc commented Dec 23, 2024

@ttb-inc Set useHybridComposition:false can solve this problem, but I don't know if it will cause new problems.

I'll test it right now.
Thank you.

@ttb-inc
Copy link
Author

ttb-inc commented Dec 23, 2024

@ttb-inc Set useHybridComposition:false can solve this problem, but I don't know if it will cause new problems.

With "useHtbridComposition:false", there seems to be some flickering on page transitions.
I'll have to test this a bit more.
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants