Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected context menu #194131

Closed
jrieken opened this issue Sep 26, 2023 · 5 comments
Closed

Unexpected context menu #194131

jrieken opened this issue Sep 26, 2023 · 5 comments
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders polish Cleanup and polish issue workbench-tabs VS Code editor tab issues

Comments

@jrieken
Copy link
Member

jrieken commented Sep 26, 2023

Testing #193991

  • disable editor tabs
  • select the ... overflow menu
  • it contains two configuration command (enable tabs, preview editors)
  • enable tabs
  • those (or related) config commands show in the context menu of the title area blank which I would also expect for non tabs.
image
@bpasero
Copy link
Member

bpasero commented Sep 26, 2023

@jrieken I think the main difference is that when tabs are disabled, we basically treat the entire title area like a very wide single tab (it even has the X close button at the end like a tab):

image

As such, there is no real "empty space" when tabs are disabled because all space is the tab. We can only show those other actions in the "..." menu.

@bpasero bpasero added the workbench-tabs VS Code editor tab issues label Sep 26, 2023
@jrieken
Copy link
Member Author

jrieken commented Sep 27, 2023

Yeah, but IMO it is still more natural to right-click into that area for similar commands (instead of having them overflow). Also in the menu are some pane management actions, like Split Up/Down/..., already present

@bpasero
Copy link
Member

bpasero commented Sep 27, 2023

I don't have strong feelings where these commands appear, I think they are both "wrong" in the tab context menu and wrong in the "..." menu. We are essentially missing the context menu for the tab stripe.

The reason I went with the "..." menu is mainly to keep the already huge tabs menu shorter.

@bpasero
Copy link
Member

bpasero commented Sep 27, 2023

One idea would be to simply not show them when tabs are disabled 🤷 . The one for pinned tabs on separate row does not work without tabs enabled anyway.

@jrieken
Copy link
Member Author

jrieken commented Sep 27, 2023

Also fine for me

@benibenj benibenj removed their assignment Sep 28, 2023
bpasero added a commit that referenced this issue Sep 28, 2023
@bpasero bpasero added the polish Cleanup and polish issue label Sep 28, 2023
@bpasero bpasero added this to the September 2023 milestone Sep 28, 2023
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Sep 28, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders polish Cleanup and polish issue workbench-tabs VS Code editor tab issues
Projects
None yet
Development

No branches or pull requests

4 participants