Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Recording HUD bar oscillates/vanishes on mouse hover on Arch Linux (Hyprland / Wayland)

Aperta
#891 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
40/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
arch-linux, electron, linux, typescript
Ambito
desktop

Direzione di ricerca

Start in electron/windows.ts and recordly_main.cjs, at the helpers the report names (W_, the hudOverlaySetIgnoreMouse / handleHudMouseEnter / handleHudMouseLeave handlers) and the setBounds call that grows the HUD from 160px to 540px with new_y = old_y - 380. Read the React HUD layout (items-end pb-5, height: 100vh) alongside it to see why the expansion pushes the bar away from the cursor on Wayland. Reproduction needs Arch/Hyprland native Wayland, so check XWayland behaviour only as a contrast; done means hovering keeps the bar stable and clickable without the enter/leave oscillation loop. Related context sits in #600, #772, #860, #863 and #876.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Search existing issues
  • I have searched the existing issues
Describe the bug

When launching the Recordly AppImage (v1.3.3) on Arch Linux running Hyprland (native Wayland, ELECTRON_OZONE_PLATFORM_HINT=auto), the floating recording HUD control bar instantly disappears, flickers, and becomes unclickable as soon as the mouse cursor hovers over it.

Expected behavior

The recording HUD should remain stably positioned and interactive when hovered, allowing users to click record, toggle microphones/cameras, and access settings without jumping or vanishing.

To Reproduce
  1. Run the Recordly AppImage on Arch Linux under Hyprland (native Wayland session, xwayland: 0):
    ./Recordly-linux-x64.appimage
    
  2. The pill-shaped recording HUD appears floating on screen.
  3. Move the mouse cursor over any button on the floating recording bar.
  4. The recording bar immediately jumps out from under the pointer, collapses, and enters a rapid oscillation loop, appearing to vanish or flicker uncontrollably.
OS

Linux

OS Version

Arch Linux, Hyprland 0.56.2 (Wayland)

Additional context
Technical Root Cause
  • In recordly_main.cjs / electron/windows.ts, mouse passthrough is disabled on Linux (zt() === false).
  • On mouse enter (handleHudMouseEnter), the renderer requests hudOverlaySetIgnoreMouse(false), triggering W_(true).
  • W_(true) attempts to expand the HUD window bounds from 160px to 540px height via setBounds to prepare room for popups, simultaneously calculating new_y = old_y - 380px to keep the bottom aligned.
  • Under the Wayland protocol (xdg_toplevel), compositors do not permit clients to position their own absolute screen coordinates (x, y). Hyprland anchors/centers the resizing surface and ignores the requested y repositioning.
  • Because the React UI layout is anchored to the bottom (items-end pb-5, height: 100vh), the 380px downward expansion pushes the control bar 380px away from the mouse cursor.
  • The pointer is no longer hovering the bar, firing handleHudMouseLeave, which triggers W_(false) and shrinks the window back to 160px.
  • Shrinking brings the bar back under the cursor, triggering handleHudMouseEnter again, causing an infinite oscillation loop.
Related Issues & PRs
  • Relates to #600, #772, #860, #863, and #876.
Workaround

Running with XWayland prevents the issue because X11 permits client-side (x, y) coordinate placement:

ELECTRON_OZONE_PLATFORM_HINT=x11 ./Recordly-linux-x64.appimage
Lingua principale
TypeScript
Stelle
32.4k
Fork
2.6k
Merge medio
1g 19h
PR unite (30g)
17

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di webadderallorg/Recordly

Tutte le issue di webadderallorg/Recordly

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.