layout: opening the view picker stalls on offscreen captures (and may flash on Linux)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- zig
- Área
- computer-graphics, desktop
Línea de trabajo
Start with app/layout/State.zig and openPicker, then trace Layout.drawCaptured, drawSolid, and core.FrameTarget.snapshot; compare that flow with ViewDrag.photographFromFrame. Confirm the proposed cause by skipping drawCaptured in drawSolid and checking whether the flash disappears. Done when opening the picker uses last-frame snapshots for on-screen surfaces while retaining captured drawing for floats in OS windows and web frames without snapshots.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Reported by Graphl; cause likely, not confirmed.
Clicking a pane's corner button opens the view picker. That sets snapshots_wanted (app/layout/State.zig openPicker), so on the next frame every on-screen surface without a snapshot is drawn through Layout.drawCaptured: offscreen, then copied back. The sidebar visibly redraws for a frame. ViewDrag.photographFromFrame hit the same problem for drags and fixed it by copying last frame's pixels with core.FrameTarget.snapshot.
To confirm: skip drawCaptured in drawSolid and see whether the flash goes away.
Fix: photograph on-screen surfaces from the frame target, at openPicker time while the last frame is still clean. Keep drawCaptured for floats in OS windows and for web frames that return no snapshot.
- Lenguaje dominante
- Zig
- Estrellas
- 1.5k
- Forks
- 40
- Merge medio
- 4 h 39 min
- PR fusionados (30 d)
- 428
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 fizzyedit/fizzy
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
fizzyedit/fizzy#306 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
sdk
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
fizzyedit/fizzy#530 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
fizzyedit/fizzy#529 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
fizzyedit/fizzy#528 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
fizzyedit/fizzy#527 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de fizzyedit/fizzy
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
full_screen_exclusive should check for fullScreenExclusiveSupported in VkSurfaceCapabilities2KHRAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
KhronosGroup/Vulkan-Samples#1590 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 5 días
-
ai-authored
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
THREAD: operation failedPosiblemente ocupada @raykholo la tomó hace 1 día. Abiertoarea:kernel bug kernel-paused needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
bherbruck/solvecraft#5055 · 2 comentarios ·