[Bug][Linux/Wayland] Window capture distorts aspect ratio, drops cursor/clicks, and cannot import .cap bundles via portal
Maintainer thường phản hồi trong vòng 1 ngày
Đá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
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ả
Description
On Linux (Wayland), screen recording encounters three significant limitations when capturing windows and managing projects:
- 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.
- 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. - Project Import Failure: XDG Desktop Portal FileChooser does not recognize
.capdirectory bundles as selectable files, entering the folder rather than importing the project.
Reproduction
- Run Cap on Linux under a Wayland session (tested on KDE Plasma 6).
- Start a Window recording and select any non-16:9 window (e.g. Android Emulator / narrow browser window).
- Notice that the resulting recording is stretched to 16:9.
- Notice that mouse movements and click ripples are missing from the preview.
- In Editor, try to "Add Clip" and pick a
.caprecording 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
- 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
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CapSoftware/Cap
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CapSoftware/Cap#2384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dashboard pagination causes full page reloads on self-hosted CapCó thể đã có người làm @Dewin đã nhận 20 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CapSoftware/Cap#2305 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CapSoftware/Cap#1714 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
CapSoftware/Cap#2409 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 64/100
CapSoftware/Cap#2408 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CapSoftware/Cap
Issue tương tự
-
app enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
elodin-sys/elodin#890 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
guidance-ai/llguidance#391 ·
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Verifiedz/Shimmer#144 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
点击设置提示`操作未能完成,详情请查看应用日志`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Y-ASLant/ElegantClipboard#166 ·