Display picker overlays all open on the focused monitor on Wayland
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 64/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Domínio
- desktop, operating-systems
Direção de pesquisa
Start in apps/desktop/src-tauri/src/windows.rs, especially the set_position code at lines 2161-2179 and the title setup at line 1299. Reproduce the picker on a Wayland compositor with multiple monitors, then investigate the reported fullscreen_on_monitor or layer-shell direction. Done means Display mode opens one overlay on each corresponding monitor instead of stacking them on the focused monitor.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
First off I just want to say thanks for making this software. It has been awesome to use so far. I love seeing quality OSS software that meets or even surpasses (which this does) the capabilities of equivalent commercial solutions. Especially in the desktop software space.
I also want to commend y'all for still allowing the purchase a normal lifetime license for a piece of desktop software. I just bought it because of that when I very likely would not sign up for a subscription with my current usage patterns, but love to be able to support great OSS when I can.
Description
With 3 monitors on Niri, picking Display mode opens one overlay per display, each sized right for its display, but all three open stacked on whichever monitor has focus. Expected each overlay to open on its own display.
The overlay gets placed with set_position (windows.rs#L2161-L2179), but Wayland compositors ignore client positioning so it never takes effect.
Proper fix is probably fullscreen_on_monitor or layer-shell.
Potential Workaround
One thing that would be easier to do and would let people work around this is to just include the display name in the title of the window. Cap Target Select - DP-1 instead of the fixed Cap Target Select (windows.rs#L1299). Then compositor users could pin each one with a window rule. For example on Niri I would do something like this (totally untested):
window-rule {
match title="^Cap Target Select - DP-1$"
open-on-output "DP-1"
}
Reproduction
- Run Cap on a Wayland compositor (Niri here) with more than one monitor
- Open the recording picker and choose Display
- All the overlays open on the focused monitor
Additional Context
- Cap version: 0.6.0 (the .deb, repackaged for Nix)
- Operating system, version: NixOS, Linux 6.18.53, Niri 26.04
- Device (optional): 3 monitors, one portrait 1080x1920 and two 1920x1080
niri msg windows while the picker is open, all three on the same workspace at the same position:
Window ID 53:
Title: "Cap Target Select"
App ID: "Cap"
Is floating: yes
PID: 216607
Workspace ID: 4
Layout:
Tile size: 1080 x 1920
Workspace-view position: 0, 34
Window size: 1080 x 1920
Window offset in tile: 0 x 0
Window ID 54:
Title: "Cap Target Select"
App ID: "Cap"
Is floating: yes
PID: 216607
Workspace ID: 4
Layout:
Tile size: 1920 x 1080
Workspace-view position: 0, 437
Window size: 1920 x 1080
Window offset in tile: 0 x 0
Window ID 55:
Title: "Cap Target Select"
App ID: "Cap"
Is floating: yes
PID: 216607
Workspace ID: 4
Layout:
Tile size: 1920 x 1080
Workspace-view position: 0, 437
Window size: 1920 x 1080
Window offset in tile: 0 x 0
- Linguagem predominante
- Rust
- Estrelas
- 23.4k
- Forks
- 2.1k
- Merge médio
- 2d 1h
- PRs com merge (30d)
- 298
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CapSoftware/Cap
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcutTalvez já em andamento @AatmanAJ assumiu há 7 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
CapSoftware/Cap#2596 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
CapSoftware/Cap#2384 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dashboard pagination causes full page reloads on self-hosted CapTalvez já em andamento @Dewin assumiu há 35 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
CapSoftware/Cap#2305 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
CapSoftware/Cap#1714 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 56/100
CapSoftware/Cap#2874 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CapSoftware/Cap
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
pedrovgs/UseCaseCoverage#23 ·
-
priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
storytold/photocraft#8687 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
THREAD: operation failedAbertaarea:kernel bug kernel-paused needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
bherbruck/solvecraft#5055 · 2 comentários ·
-
bug cli p3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 3 dias
-
documentation good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia