Skip to content

[BUG] onhoverlost doesnt work all the time #1419

@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

when clicking a button in an eventbox with onhoverlost enabled it does not like to do the command in onhoverlost

Reproducing the issue

        (eventbox
            :onhover "eww update workspaces=true"
            :onhoverlost "eww update workspaces=false"
            (box
                :space-evenly false
                :spacing 4
                (label
                    :class "workspace"
                    :text {workspace}
                )
                (revealer
                    :reveal workspaces
                    :transition "slideright"
                    (box
                        (button
                            :class "workspaces"
                            :onclick "hyprctl dispatch workspace 1"
                            (label
                                :text 1
                            )
                        )

Expected behaviour

to do what onhoverlost says when hover is lost

Additional context

No response

Platform and environment

eww 0.6.0 fddb4a0
Hyprland 0.53.3 (Wayland)

2026-02-05_19-58-00.mp4

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