Status Update
Comments
al...@jetbrains.com <al...@jetbrains.com> #2
Does the program work without the compiler switch. That is, is `"-P", "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",` required to reproduce or is just changing the runtime enough?
se...@google.com <se...@google.com>
as...@google.com <as...@google.com> #3
Sorry for that, I will try to extract an example when I'm free.
ap...@google.com <ap...@google.com> #4
I have find a sample code to reproduce that
setContent {
val dialogState = remember { DialogState() }
dialogState.Intercept()
LaunchedEffect(Unit) {
delay(1000)
dialogState.bgWork {
delay(5000)
}
dialogState.showSelectActions {
onSelect("a") {
}
onSelect("b") {
}
}
}
}
You can find implementation of DialogState
here
si...@gmail.com <si...@gmail.com> #5
Let me sort it out
The first crash
Reproduce: navigate to a gallery and navigate back
The reason is we have some code assume the forget order of RememberObserver(DisposableEffect), and 52835066c9044647a65dfb566f03131aab46e793
changed the order. Seems this is a intended behaviour.
I will fix it from my side. My bad
The second crash
Reproduce: #4 comment
StackTrace:
We got a wrong object from SlotTable during recompose
Description
Jetpack Compose version: 1.5.5-dev-k2.0.0-Beta1-06b8ae672a4
Jetpack Compose component(s) used:Android Studio Build:Kotlin version: 2.0.0-Beta1
Steps to Reproduce or Code Sample to Reproduce:
Seehttps://youtrack.jetbrains.com/issue/KT-63722 . I believe the issue is in Compose rather than in Kotlin, so reporting it here.
Stack trace (if applicable):