-
-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I originally filed this in the wrong place (Skip general discussion), so am closing it there and re-opening here. Sorry for any confusion.
I discovered this when testing my Skip lite app on a physical device (Pixel 6a/Android 16), then reproduced in Emulator, and have found that it’s reproducible in the Skip Showcase app on the Google Play Store.
The app reproducibly crashes when navigating between tabs with NavigationStack after changing the system font size between extreme sizes. The number of steps to trigger the crash may be dependent on layout complexity. I’ve been able to reproduce it reliably in the Skip Showcase app downloaded from the Google Play Store, which takes an extra few steps compared to my app with a more complex layout.
Excerpt of stacktrace:
FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object skip.ui.Preference.getReduced$SkipUI_debug()' on a null object reference
at skip.ui.NavigationStack.Render(Navigation.kt:143)
at skip.ui.View._ComposeContent(...)
at showcase.fuse.SettingsView._ComposeContent(...)
// ... continues into Compose/Android internals
Steps to reproduce:
- Download Skip Showcase app from the Google Play Store
- Open Android system Settings app, go to "Display & touch" and then "Display size and text"
- Set Font Size to largest size
- Open Skip Showcase app
- Tap Showcase to switch to Showcase tab
- Switch to system Settings -> Display size and text
- Set Font Size to smallest size
- Switch back to Skip Showcase app
- Tap About to switch to About tab
- Switch to system Settings -> Display size and text
- Set Font Size to largest size
- Switch back to Skip Showcase app
- Tap Showcase to switch to Showcase tab
-- This should trigger a crash (if no crash, repeat pattern of changing font size and back to app and switch between tabs)