Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Wide Home hover leaves the matching preview blank

Aperta
#1,347 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, testing-qa

Direzione di ricerca

Start by running the seeded tmux test TestTUIE2E/hover_previews_the_match_under_the_pointer in ./internal/e2e. Trace selection ownership through app.homeHover, homeView.previewLine, and app.homeDetail in internal/tui3/home.go, then check the related unit coverage. Done means both hover scenarios render the hovered match and stale pointer events cannot override newer keyboard input.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:chat bug sev:papercut

What happened

REGRESSION seen on commit 17ae56d34 (staging-20260921-17ae56d3496f) on 2026-09-21. Lane C, hover_previews_the_match_under_the_pointer, showed the search matches Seed Gamma, Seed Beta, and Seed Alpha, but the detail side stayed blank:

hovering `Seed Beta` did not move the card onto it

On v0.3.0 (9258f7052), the same focused subtest passed and previewed the hovered match. This is likely related to docs/changes/unreleased/1071-approvals-wheel.md, which says: Mouse hover no longer overrides a later keyboard selection. The most recent navigation method owns the single selection.

Replication

Deterministic (no model).

Run the seeded, focused tmux subtest; it needs no model key:

go test -tags e2e -count=1 -v ./internal/e2e -run '^TestTUIE2E/hover_previews_the_match_under_the_pointer$'

Today it exits nonzero with the failure quoted above while the right-hand card remains blank.

Field (real models).

No real-model run is needed: the seeded Home fixture reproduces in roughly 30 seconds and the v0.3.0 run of the same subtest is the control.

Where

The relevant hover and detail seams are app.homeHover, homeView.previewLine, and app.homeDetail in internal/tui3/home.go. The report identifies selection ownership as the likely area, but does not establish a code-level cause.

The fix

On wide Home, moving the pointer onto a search result must make that result the current selection and render its preview card. Keyboard input may subsequently take ownership, but an earlier keyboard selection must not suppress a newer hover.

Acceptance

  • e2e: Through TestTUIE2E/hover_previews_the_match_under_the_pointer in tmux, hover Seed Beta, assert the detail card contains Seed Beta, is not blank, and exit 0.
  • e2e: Through the same seeded Home, select Seed Alpha by keyboard and then hover Seed Gamma; assert exactly one selection and a detail card containing Seed Gamma.
  • Unit: The selection-owner transition from keyboard to a newer pointer event changes previewLine to the hovered row; a stale pointer event cannot override newer keyboard input.
  • The manual page internal/manual/chat/home.md quotes the hover-preview behavior, and the change entry's invalidates names the old belief that retaining keyboard ownership should suppress later hover.

Filed from the 2026-09-21 staging verification of 17ae56d34; the lane reports, frames and e2e logs are in the owner's handoff folder for this promotion.

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 35m
PR unite (30g)
752

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.