elkowar/eww

[BUG] Widgets are always on top in KDE

Open

#393 opened on Feb 5, 2022

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Rust (197 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,647 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

I am not sure if this is meant to be, but widgets always draw above any of my windows and make the area un-clickable.

Reproducing the issue

Just start some widget.

This is my config:

(defpoll packages :interval "1h" "./scripts/get-packages -a")

(defwidget neofetchWidget []
  (box :orientation "v"
    :halign "center"
    :valign "center"
    
    (box :orientation "h";
      (box :orientation "v" :class "neofetch-symbols" :spacing 5;
        
        (label :class "os-label" :halign "end" :text "")
        (label :class "wm-label" :halign "end" :text "")
        (label :class "packages-label" :halign "end" :text "")
        (label :class "terminal-label" :halign "end" :text "")
        (label :class "uptime-label" :halign "end" :text ""))
      
      (box :orientation "v" :class "neofetch-information" :spacing 5;
        (label :class "os-label" :halign "end" :text "")
        (label :class "wm-label" :halign "end" :text "")
        (label :class "packages-label" :halign "end" :text "$packages")
        (label :class "terminal-label" :halign "end" :text "")
        (label :class "uptime-label" :halign "end" :text "")))))

(defwindow sidebar 
  :monitor 0
  :windowtype "dock"
  :wm-ignore true 
  :geometry (geometry :x "50px" :y "500px" :width "200px" :height "150px" :anchor "top left")
  (neofetchWidget))

Expected behaviour

The widgets get drawn "in the background" behind all windows.

Additional context

  • system: "x86_64-linux"
  • host os: Linux 5.10.93, NixOS, 21.11 (Porcupine)
  • eww version: 0.2.0
  • DE: Plasma 5.23.3
  • WM: KWin

Contributor guide