When running the application on a Wayland session under Fedora/KDE Plasma using Nucleus Framework, window decorations (title bar, borders, close/minimize buttons) are completely missing.
How to reproduce:
fun main() = nucleusApplication {
var isWindowVisible by remember { mutableStateOf(true) }
Tray(
icon = painterResource("icon.png"),
tooltip = "My Application",
primaryAction = { isWindowVisible = true },
) {
Item(label = "Show Window") { isWindowVisible = true }
Divider()
Item(label = "Exit") { exitApplication() }
}
if (isWindowVisible) DecoratedWindow(
icon = painterResource("icon.png"),
onCloseRequest = { isWindowVisible = false },
undecorated = false,
) { ... }
}
When running the application on a Wayland session under Fedora/KDE Plasma using Nucleus Framework, window decorations (title bar, borders, close/minimize buttons) are completely missing.
How to reproduce: