quickshell icon indicating copy to clipboard operation
quickshell copied to clipboard

PanelWindow doesn't change layers

Open Kirisummer opened this issue 4 months ago • 2 comments

WlrLayershell.layer and aboveWindows properties don't seem to change layers when set. I expect these properties to put the panel below other windows, but it doesn't happen.

I also use mako for notifications, and it is correctly displayed on different layers, like Bottom or Overlay.

Example config:

import Quickshell
import Quickshell.Wayland
import QtQuick

PanelWindow {
    SystemClock {
        id: clock
        precision: SystemClock.Seconds
    }
    anchors {
        top: true
        left: true
        right: true
    }
    implicitHeight: 32
    Row {
        spacing: 10

        Text {
            text: Qt.formatDateTime(clock.date, "hh:mm:ss - yyyy-MM-dd")
        }

        Text {
            text: "Second text"
        }
    }

    WlrLayershell.layer: WlrLayer.Bottom
    // or this:
    // aboveWindows: false
}

Screenshot: Screenshot of quickshell on wrong layer You can see that quickshell is located under waybar and moves other windows down instead of being placed below them

Versions:

$ quickshell --version
quickshell 0.2.0, revision 704925ffbfc95040845047f69d31ccb038eabf65, distributed by: AUR (package: quickshell)
$ Hyprland --version
Hyprland 0.50.1 built from branch  at commit 4e242d086e20b32951fdc0ebcbfb4d41b5be8dcc  ([gha] Nix: update inputs).
Date: Sat Jul 19 21:37:06 2025
Tag: v0.50.1, commits: 6291
built against:
 aquamarine 0.9.2
 hyprlang 0.6.3
 hyprutils 0.8.1
 hyprcursor 0.1.12
 hyprgraphics 0.1.5


no flags were set

Kirisummer avatar Oct 01 '25 10:10 Kirisummer

Seems to work correctly for me with your snippet on 0.2.0 and 0.2.1

outfoxxed avatar Oct 12 '25 18:10 outfoxxed

Still happens for me on quickshell 0.2.1, qt6 6.10.0-1 and hyprland 0.51.1

Image

Kirisummer avatar Oct 13 '25 20:10 Kirisummer