Closing a tab blanks the whole window, tab bar included, for about 0.5 s
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- Meio dia
- Facilidade para iniciantes
- 64/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- c
- Domínio
- desktop-dev
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 10
- Forks
- 8
- Merge médio
- 6h 32min
- PRs com merge (30d)
- 1
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de FriendsofECCE/ECCE
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1353 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FriendsofECCE/ECCE#1348 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1345 ·
Todas as issues de FriendsofECCE/ECCE
Issues semelhantes
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
vincentarelbundock/xtx#11 ·
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
compiler-explorer/compiler-explorer#9738 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 3 dias
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
kamgurgul/mib2q-carplay#74 ·