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

Offen
#1,493 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, typescript
Bereich
backend, desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
3.7k
Forks
231
Ø Merge
19 Std. 7 Min.
Gemergte PRs (30 T.)
266

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getopenscreen/openscreen

Alle Issues in getopenscreen/openscreen

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.