Skip to content

Fix #465: recording HUD on GNOME Wayland - #466

Merged
thdxr merged 1 commit into
devfrom
agent/issue-465
Oct 30, 2026
Merged

thdxr merged 1 commit into
devfrom
agent/issue-465

Conversation

@thdxr

@thdxr thdxr commented Oct 30, 2026

Copy link
Copy Markdown
Member

Fixes #465

Automated fix from the Hex issue pipeline. The fixer and reviewer saw only the validated issue form, never the issue text.

Form

  • Area: recording HUD on GNOME Wayland (linux)
  • Summary: On GNOME 50 Wayland the recording HUD never appears, because the compositor has no layer-shell, and nothing in the log or status output says it is disabled. Forcing the app onto XWayland makes the HUD show, but the portal global hotkeys then stop firing. The reporter also describes a separate bug: a stale X authority path saved in the session environment file breaks X11 connections after a reboot.
  • Expected: The HUD appears at the configured indicator position, using a fallback if layer-shell is unavailable. If it cannot be shown, the log and status output say so.
  • Actual: The HUD is silently missing on GNOME Wayland, with no log or status message. In XWayland mode the HUD works and is positioned correctly, but status still reports the portal shortcuts as enabled while the hotkey only types the letter. After a reboot, the stale X authority path makes the X11 connection fail, and Hex then continues without its window.

Change
I reformatted the Wayland check in src/linux_paste.rs the way cargo fmt wanted, which was the only error reported. Nothing else changed: on a Wayland compositor without layer-shell (such as GNOME), Hex still logs once that the HUD is unavailable and hex status reports it in hud_limitation and, when the listener is running with no other warning, as its warning. The sandbox has not rebuilt this yet, and there is still no XWayland HUD fallback or fix for the stale X authority path.

Gates: build passed in the apollo sandbox; policy clean; reviewer console-anthropic-cyber/claude-opus-5-5 approved.
Run: 465-2026-10-30t12-16-38-773z

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Automated fix from the Hex issue pipeline (run 465-2026-10-30t12-16-38-773z).

Fixes #465
@thdxr
thdxr merged commit ba8a92d into dev Oct 30, 2026
@thdxr
thdxr deleted the agent/issue-465 branch October 30, 2026 12:19
thdxr added a commit that referenced this pull request Oct 30, 2026
…e XAUTHORITY

On a Wayland compositor without layer-shell (GNOME's Mutter), Rune now opens
only the HUD as an override-redirect, click-through X11 window on XWayland
(Rune 9983acad). The rest of Hex stays on Wayland, so portal shortcuts keep
working. Without XWayland, the #466 status and log remain.

A saved XAUTHORITY whose file is gone after a reboot is replaced at startup by
the user manager's current value, else dropped.

Fixes #465
thdxr added a commit that referenced this pull request Oct 30, 2026
…e XAUTHORITY (#479)

On a Wayland compositor without layer-shell (GNOME's Mutter), Rune now opens
only the HUD as an override-redirect, click-through X11 window on XWayland
(Rune 9983acad). The rest of Hex stays on Wayland, so portal shortcuts keep
working. Without XWayland, the #466 status and log remain.

A saved XAUTHORITY whose file is gone after a reboot is replaced at startup by
the user manager's current value, else dropped.

Fixes #465
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GNOME Wayland: recording HUD never appears (no layer-shell); XWayland fallback breaks portal hotkeys

1 participant