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

ImageComposeScene unnecessarily initializes JVM GUI Head

Open jimgoog opened this issue 4 years ago • 1 comments

Probably ImageComposeScene shouldn't initialize the JVM GUI Head (eg Swing/AWT). You can reproduce on Mac OSX where running the code below will cause a JVM Application icon to appear in the dock and become focusable as a real application. This is especially frustrating when forking hundreds of processes to run unit tests in parallel in isolated JVMs.

fun main() {
    ImageComposeScene(50, 50) {}.close()
}

jimgoog avatar Nov 13 '21 17:11 jimgoog

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 16:08 okushnikov