compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Preview stops working at random points

Open rock3r opened this issue 3 years ago • 3 comments

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.)

rock3r avatar Oct 02 '21 09:10 rock3r

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.

ChrisAJS avatar Oct 15 '21 22:10 ChrisAJS

I was also using classpath resources (including fonts), hope this helps too.

rock3r avatar Oct 16 '21 14:10 rock3r

Still seeing this problem. This happens when loading i18n bundles from classpath resources.

image

Stacktrace shows:

Caused by: java.util.zip.ZipException: ZipFile invalid LOC header (bad signature)

which might be caused by opening files.

Him188 avatar Aug 19 '22 10:08 Him188