-
Notifications
You must be signed in to change notification settings - Fork 624
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
Possible crashing on Android 9.0; Instant image updating crashes the application on Android 7.x and older versions #7182
Comments
Thanks for filing a bug report. I'm not sure it is worth supporting Android 7 but I'd accept PR if it is not too intrusive.
I think if it solves the problem, that's fine.
Thanks for pointing this out. We will try to make a new release as soon as possible (which may need to wait after the holidays) |
Sorry for the duplication caused by bad connection to Github.
How about improving the |
Another problem: |
Bug Description
It is caused by JNI local reference overflow:
get_view_rect
ininternal/backends/android-activity/javahelper.rs
.Reference: rust-mobile/android-activity#173, https://developer.android.com/training/articles/perf-jni#unsupported-featuresbackwards-compatibility.
"In Android versions prior to Android 8.0, the number of local references is capped at a version-specific limit. Beginning in Android 8.0, Android supports unlimited local references."
I do know how to fix the problem, but I am not sure if the jni-min-helper crate can be introduced as a dependency of
i-slint-backend-android-activity
.Besides, the virtual keyboard always prompt out on startup, maybe calling
show_or_hide_soft_input(false)
for once can fix the problem; the defaultmaterial
Slint style on Android currently features a pink color theme, which has nothing to do with the original material design style. It means a bad first impression for some people.PS: docs.rs failed to build
slint
crate documentation becauseapi/rs/slint/docs
symbolic link has been deleted (commit e45e699). Would it be fixed?Reproducible Code (if applicable)
Environment Details
Product Impact
Unexpected crashing may appear here and there on Android versions prior to 8.0. High RAM usage may occur in a few specific applications on newer Android versions.
The text was updated successfully, but these errors were encountered: