mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
9.78k stars 442 forks source link

MIUI/HyperOS: Attempt to invoke virtual method crash #1278

Open Smol-Ame opened 2 weeks ago

Smol-Ame commented 2 weeks ago

Steps to reproduce

  1. Open Mihon
  2. Go into Reader or Mihon Settings page
  3. Hit back using system gestures/device back button, crashes the app with crash line NullPointerException: Attempt to invoke virtual method 'float android.window.BackMotionEvent.getTouchX()' crash

Expected behavior

Shouldn't crash

Actual behavior

Crashes the app

Crash logs

dovahkiinakano_mihon_crash_logs.txt

ldgs13_mihon_crash_logs.txt

benstone101_mihon_crash_logs.txt (see closed #1270 for screen-recording behavior)

Mihon version

0.16.5

Android version

Android 14

Device

Xiaomi Redmi Note 13 Pro, Mi 12T Pro

Other details

Supercedes #1270 to have all the info in one spot.

Currently diagnosed as a device/OS-related issue, waiting for future device/OS update to see if it fixes this issue (which might be affecting other apps such as Chrome).

Acknowledgements

bebaoboy commented 1 week ago

I'm just a passing-by but I experience this crash too on all apps. It is the update of the system app HyperOs Launcher (version 5.39) that causes the crash. I downgrade the app and everything is fine (on every app that experienced the crash).