compose-multiplatform
compose-multiplatform copied to clipboard
Preview stops working at random points
In IJ 212, using the latest Compose Multiplatform plugin, the preview panel just stops working at random points and the only way to make it show anything is to restart the IDE.
It may or may not be related to the fact that the project JAR file may be leaked and left open in some cases (that, in turn, seems to happen in general with Gradle, and may not be related to CfD — I have seen it happen in Android projects too.)
This started happening to me whilst using Jetpack Compose Desktop as soon as I started using resources from the classpath - specifically attempting to load a font from resources. Only mentioning as it seems like it could potentially be related.
I was also using classpath resources (including fonts), hope this helps too.
Still seeing this problem. This happens when loading i18n bundles from classpath resources.
Stacktrace shows:
Caused by: java.util.zip.ZipException: ZipFile invalid LOC header (bad signature)
which might be caused by opening files.