aeharding / aeharding/kjerag

Paused window can show no picture until the next key press

Aberta
#102 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
1
Forks
0
Merge médio
1d 2h
PRs com merge (30d)
6

Descrição

Confirmed three independent times on main under load (by the #90, #99, and #101 agents; the #101 confirmation had no audio device and all live files reverted, so it is not content- or audio-related): a PAUSED window sometimes draws bare theme background - no picture - until the next key press forces a redraw. This is the true cause of the flaky 'a toast is drawn clear of the controls' harness check (its before-capture grabs the blank window; 87 percent of pixels then differ). Suspects: the paused redraw path only repaints on request, and under load the last presented frame's surface is lost/invalidated without a repaint being requested (surface reconfigure? buffer swap under memory pressure?). Repro-first: the harness reproduces it under load; instrument which event chain leads to the blank (does the compositor send a configure/frame event the app ignores while paused?). Fix must guarantee: a paused window always shows its frame after any redraw-worthy event. Also fold in #91's harness hardening (before-grabs wait for a non-blank picture) once the app defect is fixed so the harness cannot mask it meanwhile.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Start in the paused window redraw path and compositor event handling: trace configure/frame events and why a redraw is not triggered on pause. Reproduce via the existing harness flow that does before-capture checks (the toast-control path) and confirm whether a paused window presents a blank surface after redraw-worthy events. Then update the #91-related harness hardening so before-grab waits for a non-blank frame. Done looks like no regression under load: paused state always shows the last frame and the flaky blank-capture check no longer fires.

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

Avaliação

Stack de tecnologia
rust
Domínio
desktop-dev, testing-qa
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

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