elkowar/eww

[BUG] Widgets are always on top in KDE

Aperta

#393 aperta il 5 feb 2022

 (13 commenti) (0 reazioni) (0 assegnatari)Rust (197 fork)batch import
bughelp wanted

Metriche repository

Star
 (4647 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor