Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#2,419 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@EtherealBless já está trabalhando nisso.

Desde 5/10/2026.

  • #2420 de @EtherealBless — aberto

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
rust, tauri
Domínio
backend, desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Rust
Estrelas
23.4k
Forks
2.1k
Merge médio
2d 4h
PRs com merge (30d)
289

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CapSoftware/Cap

Todas as issues de CapSoftware/Cap

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.