There seems to be a bug in the latest Compose 1.8....
# compose-desktop
t
There seems to be a bug in the latest Compose 1.8.0-alpha02 in the
GraphicsLayer
implementation. Specifically when trying to close a
org.jetbrains.skia.Picture
. It's triggered by shared element transitions.
Copy code
"AWT-EventQueue-0" java.lang.RuntimeException: Object already closed: class org.jetbrains.skia.Picture, _ptr=0
	at org.jetbrains.skia.impl.Managed.close(Managed.jvm.kt:16)
	at androidx.compose.ui.graphics.layer.GraphicsLayer.record-mL-hObY(SkiaGraphicsLayer.skiko.kt:190)
	at androidx.compose.ui.platform.GraphicsLayerOwnerLayer.updateDisplayList(GraphicsLayerOwnerLayer.skiko.kt:214)
	at androidx.compose.ui.platform.GraphicsLayerOwnerLayer.drawLayer(GraphicsLayerOwnerLayer.skiko.kt:196)
	at androidx.compose.ui.node.NodeCoordinator.draw(NodeCoordinator.kt:435)
	at androidx.compose.ui.node.LayoutNode.draw$ui(LayoutNode.kt:940)
k
@Ivan Matkov
i