[Bug][Linux/Wayland] Window capture distorts aspect ratio, drops cursor/clicks, and cannot import .cap bundles via portal
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 23k
- フォーク
- 2k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 78
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CapSoftware/Cap のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CapSoftware/Cap#2384 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Dashboard pagination causes full page reloads on self-hosted Cap対応中かも @Dewin が 20 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CapSoftware/Cap#2305 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CapSoftware/Cap#1714 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
CapSoftware/Cap#2432 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[Feature Request]: Add random string placeholder to default project name templates対応中かも @mynameistito が 1 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 25/100
CapSoftware/Cap#2430 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
CapSoftware/Cap の issue をすべて見る
似ている issue
-
agent:triaged bug bughunt pm:npm priority:p1
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
SocketDev/socket-patch#1127 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
adorsys/status-list-server#619 ·
メンテナーはふだん 2 日以内に返信
-
batch-backport only backports the first 30 matching PRs対応中かも @DvirDukhan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 5 日以内に返信
-
Configuration-level resource: `Allocate` rejects the kubelet's re-offer of the same device for a later container of the same Pod ("Unable to claim slot")対応中かも @fang80913 が 38 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
project-akri/akri#854 ·