Repository navigation
Description
Description
In the right sidebar's Filesystem panel, the refresh button is revealed when hovering the project label. Because the button relies on peer-hover/project-label but has no self-hover rule, it disappears as soon as the cursor leaves the label and enters the button area, making it impossible to click.
Affected version
Observed on builds after the v0.16.0 release (2026-06-05). The regression was introduced by commit d62979a6f ("feat(desktop): composer status stack, live subagent windows, editable prompts", 2026-06-12) on main. The About panel may still display "0.16.0" in builds from this window because the version label was not bumped after the release tag (see commit 16beab421).
Steps to reproduce
- Open Hermes Desktop and load any folder in the right sidebar file tree.
- Hover the project label in the Filesystem header — the refresh button appears.
- Move the cursor from the label toward the refresh button.
- The refresh button vanishes before the click registers.
Expected behavior
The refresh button should remain visible and clickable while the cursor is over it.
Actual behavior
The button disappears when the cursor leaves the project-label hover zone because its visibility is tied only to peer-hover/project-label, not to its own hover state.
Root cause
In apps/desktop/src/app/right-sidebar/index.tsx, commit d62979a6f changed the header reveal from group-hover/project-header to peer-hover/project-label. The new HEADER_ACTION_LABEL_REVEAL constant sets pointer-events-none opacity-0 as the base state and only reveals the refresh button via peer-hover/project-label. Once the cursor enters the button itself, the peer hover is lost, so the button flips back to hidden/non-interactive.
Suggested fix
Add self-hover rules to HEADER_ACTION_LABEL_REVEAL so the refresh button stays visible and interactive while hovered:
-const HEADER_ACTION_LABEL_REVEAL = `${HEADER_ACTION_CLASS} pointer-events-none opacity-0 transition-opacity focus-visible:pointer-events-auto focus-visible:opacity-100 peer-focus-visible/project-label:pointer-events-auto peer-focus-visible/project-label:opacity-100 peer-hover/project-label:pointer-events-auto peer-hover/project-label:opacity-100`
+const HEADER_ACTION_LABEL_REVEAL = `${HEADER_ACTION_CLASS} pointer-events-none opacity-0 transition-opacity hover:pointer-events-auto hover:opacity-100 focus-visible:pointer-events-auto focus-visible:opacity-100 peer-focus-visible/project-label:pointer-events-auto peer-focus-visible/project-label:opacity-100 peer-hover/project-label:pointer-events-auto peer-hover/project-label:opacity-100`Related
d62979a6f— commit that introduced the regression.- [Feature]: Real-time file tree updates in the right sidebar (no manual Refresh) #41153 — separate feature request for real-time file tree updates in the same sidebar.
Activity
chatpongs commentedon Jun 29, 2026
This is fixed as of
9d2ec8d3(#46244 — merged 2026-06-15, thanks @skyc1e!). The refresh button's reveal is now tied to the whole header viagroup-hover/project-header+group-focus-within/project-headerinstead of the buggypeer-hover/project-label, so it stays visible and clickable while moving the cursor from the project label onto the button itself. The regression commitd62979a6no longer reproduces the issue.Rather than the self-hover (
hover:) approach suggested above, the maintainer went with the broader header hover-group, which also keeps the button reachable via keyboard focus — a bit more robust.Closing as completed. Thanks everyone for the triage and the duplicate reports.