Linux X11: no cursor telemetry, so no follow-cursor zoom

Aperta
#1,493 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, typescript
Ambito
backend, desktop

Direzione di ricerca

Start with src/hooks/useScreenRecorder.ts and trace how effectiveBrowserCursorMode selects system on Linux X11 and where cursor positions are recorded. Check the browser capture path and whether Chromium honours getDisplayMedia with cursor: "never" on X11; the issue leaves this unverified and offers an alternative of recording positions in system mode. Done means cursor-follow zoom works on X11 without drawing a duplicate cursor, while Wayland, macOS and Windows remain unaffected.

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

Descrizione

Follow-up to #1491 / #1492.

Since #1492, recording works on Linux X11 sessions, but no cursor positions are recorded there: auto-zoom that follows the cursor and the editable cursor overlay are unavailable.

Why: on the browser capture path outside Windows, effectiveBrowserCursorMode (src/hooks/useScreenRecorder.ts) forces system, because Chromium bakes the real cursor into the X11 frames. Keeping editable-overlay would draw a second cursor on top. Cursor positions are only recorded in editable-overlay mode, on every platform.

Possible directions

  • Exclude the cursor from the X11 capture (e.g. getDisplayMedia with cursor: "never", if Chromium honours it on X11 — unverified), then lift the system override there.
  • Record cursor positions in system mode too (for follow-cursor zoom), without drawing an overlay.

Wayland, macOS and Windows are not affected.

Lingua principale
TypeScript
Stelle
3.7k
Fork
231
Merge medio
19h 7m
PR unite (30g)
266

Preparare l'ambiente

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 getopenscreen/openscreen

Tutte le issue di getopenscreen/openscreen

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.