Compose Desktop Runtime Hardening

The ordered list of probes, system properties and platform gates a Compose desktop entry point must run before its first window exists. Covers warming the JDK's desktop-integration API ahead of any native load, renderer and interop properties that are read once at start-up, turning off vsync where the wait can park the UI thread, gating transparency and a custom titlebar on virtual-machine detection, and setting the Linux window-class name reflectively so the desktop entry binds. Use when the UI freezes while audio keeps playing after moving the window to another monitor, when the window never appears in a virtual machine, or when the Linux dock shows a class name instead of your app.

maxrave-dev 2a01f0b 7.7 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/compose-desktop-runtime-hardening commit 2a01f0b8ef

Frequently asked questions

npx skillmds@latest add maxrave-dev/compose-desktop-runtime-hardening