Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Component used: androidx.core:core-ktx
Version used: 1.15.0
Devices/Android versions reproduced on: api sdk 34, 35
I have issues with WindowInsets in android. I use all newer available versions of libraries in my project. In my jetpack compose project i use Modifier.windowInsetsPadding to add paddings for my top bar. WindowInsets.statusBars function gives me too large values which is false.
I tried downgrade versions of my libraries and found a problem. androidx.core:core-ktx:1.15.0 library produces wrong values from WindowInsets. So, i downgraded version to 1.13.0 and it works fine. Issue is in androidx.core:core-ktx:1.15.0
My downgrade code in build.gradle.kts:
MainActivity.ktx