terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Make new tab appear instantaneously

Open kellware opened this issue 6 years ago • 2 comments

Description of the new feature/enhancement

When I open a new tab, there is a noticeable 1-second delay before the tab is rendered and a weird animation when the text is drawn. See following gif.

new-tab

This is somewhat distracting to me because for a split second it appears a new tab failed to open. I would like the tab to be rendered immediately. I assume that fetching the tab text and icon is an expensive operation which is why it takes so long to render. In this case, could there be some kind of caching involved so the tab could be rendered instantaneously?

If caching isn't possible for some reason, I would at least like the tab background to be rendered immediately. Surely there is no reason for the tab background to take so long to appear. The text and icon can be added after it is fetched. Also, could the animation be disabled?

kellware avatar Jul 24 '20 04:07 kellware

Hey so this is actually an issue with the WinUI TabView itself. It's actually being tracked over in https://github.com/microsoft/microsoft-ui-xaml/issues/1999. I'm gonna forward this discussion to that thread, since there are more details there. Thanks!

/dup https://github.com/microsoft/microsoft-ui-xaml/issues/1999

zadjii-msft avatar Jul 24 '20 11:07 zadjii-msft

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

ghost avatar Jul 24 '20 11:07 ghost