[Bug][Linux/Wayland] Window capture distorts aspect ratio, drops cursor/clicks, and cannot import .cap bundles via portal
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Rust
- Stelle
- 23k
- Fork
- 2k
- Merge medio
- 1g 18h
- PR unite (30g)
- 78
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CapSoftware/Cap
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#2384 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Dashboard pagination causes full page reloads on self-hosted CapForse già presa @Dewin l’ha presa 21 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CapSoftware/Cap#2305 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#1714 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
CapSoftware/Cap#2432 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
[Feature Request]: Add random string placeholder to default project name templatesForse già presa @mynameistito l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 25/100
CapSoftware/Cap#2430 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di CapSoftware/Cap
Issue simili
-
enhancement user-priority/P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
element-hq/lk-jwt-service#248 ·
I maintainer di solito rispondono entro 1 giorno
-
agent:triaged bug bughunt pm:pipenv priority:p1
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SocketDev/socket-patch#1219 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pact-foundation/pact-cli#154 ·
I maintainer di solito rispondono entro 3 giorni