Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug][Linux/Wayland] Window capture distorts aspect ratio, drops cursor/clicks, and cannot import .cap bundles via portal

Đang mở
#2,419 1 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

@EtherealBless đang làm issue này rồi.

Từ ngày 5/10/2026.

  • #2420 của @EtherealBless — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust, tauri
Lĩnh vực
backend, desktop

Hướng nghiên cứu

The issue describes Wayland window capture, cursor telemetry, and .cap import through the XDG Desktop Portal, but names no source files or tests. Start by locating the Linux capture and portal file-picker entry points and their related tests. The work is done when window dimensions are preserved, cursor and click events are captured, and .cap bundles can be selected for import; linked PR #2420 is already open.

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

Mô tả

bug
Description

On Linux (Wayland), screen recording encounters three significant limitations when capturing windows and managing projects:

  1. Aspect Ratio Distortion: Capturing non-16:9 windows (e.g. mobile emulators in 9:16 portrait orientation) forces the stream into monitor bounds, stretching the window horizontally instead of preserving its native dimensions.
  2. Missing Cursor & Click Telemetry: On Wayland, cursor capture stubbed out with empty events (moves: vec![], clicks: vec![]), completely disabling Cap's zoom/click wave features.
  3. Project Import Failure: XDG Desktop Portal FileChooser does not recognize .cap directory bundles as selectable files, entering the folder rather than importing the project.
Reproduction
  1. Run Cap on Linux under a Wayland session (tested on KDE Plasma 6).
  2. Start a Window recording and select any non-16:9 window (e.g. Android Emulator / narrow browser window).
  3. Notice that the resulting recording is stretched to 16:9.
  4. Notice that mouse movements and click ripples are missing from the preview.
  5. In Editor, try to "Add Clip" and pick a .cap recording folder - portal file picker navigates inside instead of selecting the project.
Additional Context
  • Cap version: 0.6+
  • Operating system, version: EndeavourOS / Arch Linux, KDE Plasma 6 (KWin Wayland)
Screenshots
Image
Ngôn ngữ chính
Rust
Star
23k
Fork
2k
Merge trung bình
19 giờ 50 phút
Pull request đã merge (30 ngày)
72

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 CapSoftware/Cap

Tất cả issue của CapSoftware/Cap

Issue tương tự

Thêm issue về Rust

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.