Building a Multiplatform Window Manager for Fun
summary
Builds a working Compose Multiplatform prototype called Fen that runs on Android, iOS, Desktop and Web and re-creates a Windows XP “Luna” look using nine‑patch theme assets. It exposes a theming interface with interaction sources, gives each window its own ViewModelStore so view models survive minimization, fixes remember vs rememberSavable with a savable state provider, implements background mode to keep media composed, and maps window focus to lifecycle states so adaptive layouts and immersive full‑screen all behave correctly.
AI-written summary · about
chapters (12)
- 0:00Building a window manager
- 3:05Name and tech stack
- 8:47First window prototype
- 9:29Windows XP Luna theme
- 13:41Refining window framework
- 21:28Desktop state and composition
- 24:19View models and state preservation
- 26:48Window minimization and background
- 29:18Lifecycle awareness in windows
- 32:09Multiplatform layout adaptation
- 34:20Optimizing immersive displays
- 37:14Final demo and summary
related talks
46mMultiplatform UI with Compose
58mMultiplatform UI: Compose outside Android
42mWhat’s New in Compose Multiplatform
34mBeyond the UI: Compose as a Foundation for Multiplatform Apps
43mWhat's New in Compose Multiplatform
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
42mCompose: Beyond Android development
36mCoupling Compose- Interoperability in a Legacy Codebase
