Skip to content

Incorrect tab behavior after using Ctrl+w #708

@sasmithjr

Description

@sasmithjr
  • Your Windows build number:

    • Microsoft Windows [Version 10.0.18362.86]
    • Did a git pull master before using VS2019 to deploy locally.
  • What you're doing and what's happening:

    1. To start, have 4 tabs open.
    2. Go to the 1st tab
    3. Hit Ctrl + w to close it. Terminal behaves as expected and closes the tab
    4. Both a and b below are where the bug shows up:
      a. Hit Ctrl + w again. The new 2nd tab (originally the 3rd tab) closes instead
      b. Hit Ctrl + Tab to cycle. Focus will change from the 1st tab to the 3rd tab (originally 4th) tab. 1st tab will also retain focused coloring.

    Also: If you start with 3 tabs open and then close the first one with Ctrl + w, you're not able to use Ctrl + Tab to cycle to the next tab.

    4a and 4b are not consecutive steps. They're different actions which can mess up after step 3

  • What's wrong / what should be happening instead:
    For 4a: focused tab should close
    For 4b: 2nd tab should become selected, not the 3rd.

If there's any more information you need, please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions