You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tab wrap - flicker when there is not enough room for wrapping tabs to display #115050
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-tabsVS Code editor tab issues
changed the title [-]Visible tab name changes when there is not enough room[/-][+]Tab wrap - Visible tab name changes when there is not enough room[/+]on Jan 26, 2021
changed the title [-]Tab wrap - Visible tab name changes when there is not enough room[/-][+]Tab wrap - tab name changes when there is not enough room[/+]on Jan 27, 2021
changed the title [-]Tab wrap - tab name changes when there is not enough room[/-][+]Tab wrap - flicker when there is not enough room for wrapping tabs to display[/+]on Jan 27, 2021
I was able to find the origin of the bug in doLayoutTabsWrapping: wrapping is activated even when there is no space due to the actions right to the last tab. In the next call, it is disabled again, because the action's size is considered in that case. Constantly switching between wrapping and not wrapping makes it behave weird. I'll make a PR.
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-tabsVS Code editor tab issues
Activity
[-]Visible tab name changes when there is not enough room[/-][+]Tab wrap - Visible tab name changes when there is not enough room[/+]bpasero commentedon Jan 26, 2021
Yeah I was not able to figure out what triggers this and was even suspecting a browser bug (though didn't follow up).
//cc sneakyfish5
[-]Tab wrap - Visible tab name changes when there is not enough room[/-][+]Tab wrap - tab name changes when there is not enough room[/+][-]Tab wrap - tab name changes when there is not enough room[/-][+]Tab wrap - flicker when there is not enough room for wrapping tabs to display[/+]bpasero commentedon Jan 27, 2021
I see this being related to:
layoutis calledgoldst commentedon Jan 27, 2021
I was able to find the origin of the bug in
doLayoutTabsWrapping: wrapping is activated even when there is no space due to the actions right to the last tab. In the next call, it is disabled again, because the action's size is considered in that case. Constantly switching between wrapping and not wrapping makes it behave weird. I'll make a PR.fix microsoft#115050
fix #115050 flickering tabs when wrapped (#115273)
bpasero commentedon Jan 28, 2021
Leonard Goldstein (@goldst) 👏