Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

layout: opening the view picker stalls on offscreen captures (and may flash on Linux)

Abierto
#523 1 comentario 0 reacciones 0 asignados Ver en GitHub

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

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

bug

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fizzyedit/fizzy

Todos los issues de fizzyedit/fizzy

Issues similares

Más issues de Computer Graphics

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.