Closing a tab blanks the whole window, tab bar included, for about 0.5 s

Aperta
#1,349 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
64/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c
Ambito
desktop-dev

Direzione di ricerca

Start by tracing the GUI tab-close path and the code that removes a page or tab, using the related change-path issues #1210, #1267, and #1237 as references. Determine whether the entire tab control is being rebuilt or unmapped when a non-final tab closes. Done means closing one of several tabs removes only that tab, with the tab bar and remaining content staying visible and no blank-frame delay.

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

Descrizione

Closing a tool tab blanks the whole window for about half a second before it
redraws.

Measured from a screen recording of the 9.6.1 build at 8825ee3dd (1920x1200,
60 fps source, sampled at 30 fps): 14 consecutive frames, about 460 ms, in
which the client area is entirely empty. It is not a flicker in the content
pane: the tab bar itself disappears too, leaving the menu bar over a blank
window, and then the full layout is drawn again with one fewer tab.

Sequence from the recording:

  • four tabs (Organizer + three Viewers), Organizer content drawn normally;
  • the x of a Viewer tab is clicked;
  • whole window blank, no tabs, no tree, no panels, for ~0.46 s;
  • window returns complete, with two Viewer tabs.

This is on the close path specifically, with several tabs open. Related work
already landed on the change path (#1210, #1267) and on the desk after the
last tab closes (#1237), so this is the remaining case: closing one tab while
others remain.

Likely shape, from how the earlier ones went: the host rebuilds or re-lays-out
the whole tab control after a page is removed, rather than removing the page
and letting the rest stand, so everything is unmapped and redrawn. A redraw
that cheap to trigger should not need the tab bar to go away.

Worth fixing because it reads as a crash to a user: for half a second the
application looks like it has lost its window.

Lingua principale
C
Stelle
10
Fork
8
Merge medio
6h 32m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: 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 FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.