Linux/X11 HiDPI: full-screen recording overlay is ~2x too large at 200% scale
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- linux, rust, tauri
- Área
- desktop, operating-systems
Línea de trabajo
Reproduce the full-screen recording overlay on Linux Mint 22.3 with MATE/X11, Xft.dpi=192, and 200% scaling, then trace the overlay's display-size calculation and toolkit entry point. Compare its bounds with the selected display and the GDK_SCALE=1 workaround; done means the overlay covers exactly the display at 200% without shrinking or making the main window unusable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version / environment
- Cap 0.6.0 (.deb, amd64)
- Linux Mint 22.3, MATE 1.26.2, X11 session
- Display: eDP-1 2560x1600 (344x215 mm), Intel Arrow Lake graphics (Vulkan, per the Cap log)
- Xft.dpi = 192; MATE window-scaling-factor = 0 (auto)
What happens
When I choose "record full screen", the blue selection/overlay is about 2x larger than the screen. Cap's main window renders at a normal, readable size.
Workarounds tried
- Lowering the global desktop scaling makes the overlay correct, but shrinks all UI text on the system, so it isn't practical.
- Launching with
GDK_SCALE=1(from a terminal): the overlay is correct, but Cap's main window becomes very small and can't be resized. GDK_SCALE=1 GDK_DPI_SCALE=2: overlay still correct, but the window stays small with huge text; buttons unreachable.WINIT_X11_SCALE_FACTOR=1: no visible change (overlay still 2x).- Ctrl+ / Ctrl+scroll in the main window: no effect.
- Settings > Experimental (GPUI preview) does not exist in my build.
Notes
- The terminal log shows no error or scale-related message at startup. Only unrelated JACK/ALSA and mjpeg warnings.
- I have not verified whether the overlay window is sized in physical vs. logical pixels, or whether the window toolkit is GTK/WebKit or something else.
Expected
Overlay covers exactly the selected display at 200% desktop scaling, without needing GDK_SCALE=1.
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 1.9k
- Merge medio
- 6 h 33 min
- PR fusionados (30 d)
- 77
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CapSoftware/Cap
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CapSoftware/Cap#2305 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CapSoftware/Cap#1714 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
CapSoftware/Cap#2324 · 1 comentario ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
CapSoftware/Cap#2311 · 2 comentarios ·
-
Windows issues on 0.6.0 Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
CapSoftware/Cap#2310 · 2 comentarios ·
Todos los issues de CapSoftware/Cap
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gitbutlerapp/gitbutler#15998 · 1 comentario ·
-
bug triage:deciding
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
open-telemetry/otel-arrow#4132 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100