Skip to content

[BUG] graph widget is not working #1412

@silvia552

Description

@silvia552

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

The graph line shows for 1 second then disappears forever until i reload it again.

Reproducing the issue

test.yuck

(defwindow test
    :monitor 0
    :geometry
    (geometry
        :anchor "center"
    )
    :stacking "fg"
    (test)
)
(defwidget test []
    (box
        :class "test-box"
        :width 200
        :height 100
        (graph
            :class "test-graph"
            :value {EWW_CPU.avg}
            :thickness 2
            :time-range 60
            :min 0
            :max 101
            :dynamic true
        )
    )
)

test.scss

.test-box {
  background-color: #111111;
}
.test-graph {
  color: #ffffff;
}

Expected behaviour

I expected the line to not disappear.

Additional context

Image

Platform and environment

  • eww 0.6.0 fddb4a0

  • Hyprland 0.53.0 (Wayland)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions