Skip to content

[Bug] Window decorations stripped under Wayland (Fedora / KDE Plasma) #425

Description

@kys0ff

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,
    ) { ... }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions