Terminal: Bug Report - Tab shows icon

Created on 8 Jul 2019  ·  3Comments  ·  Source: microsoft/terminal

Environment

Microsoft Windows [Version 10.0.18362.207]
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce

Start Windows Terminal,
Spam open different types of terminal (using hotkeys),
Preferably spamming Ubuntu, cmd and PowerShell,
Some tabs collapsed into showing just icon while others are expanded.

Expected behavior

  1. The tabs should be standardised and collapsed only when there are too many tabs to fit in.
  2. The tabs will only expand when there are enough space to fit in.

Actual behavior

Screenshot belows show what it looks like:
Some of the tabs are expanded while others are not.
image
Cleared remaining tabs and only left with collapsed tab, it does not expand every tab but the last tab.
image

Area-User Interface Issue-Bug Product-Terminal Resolution-Duplicate

All 3 comments

@TayYuanGeng So we're definitely not doing any auto-collapsing of the tabs to icons. What's probably happening here is the shell isn't starting up entirely, and it's not setting the title.

After playing with this I can get this to repro myself. Focusing the tab also doesn't seem to set the title anymore. However, if you have the tab that's broken focused, then unfocus the window and re-focus the window, the title will update.

We must be missing some title change event, but for whatever reason we think that we _did_ actually set the title. Either that, or there might be some bug in the tab control itself, since the window focus thing seems _insane_ to me.

Apparently, I tried to focus and unfocus. It DOES update BUT for ONLY the last tab. In between the expanded tabs are those collapsed tab.

This'll be fixed by #1205. Thanks for the report!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdtauk picture mdtauk  ·  3Comments

zadjii-msft picture zadjii-msft  ·  3Comments

warpdesign picture warpdesign  ·  3Comments

mrmlnc picture mrmlnc  ·  3Comments

carlos-zamora picture carlos-zamora  ·  3Comments