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

Đang mở
#1,493 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, typescript
Lĩnh vực
backend, desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3.7k
Fork
231
Merge trung bình
19 giờ 7 phút
Pull request đã merge (30 ngày)
266

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getopenscreen/openscreen

Tất cả issue của getopenscreen/openscreen

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.