Skip to content

Allow showing and hiding individual items in the title bar with a right-click menu #155345

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

Closed
sbatten opened this issue Jul 15, 2022 · 3 comments · Fixed by #155276
Closed

Allow showing and hiding individual items in the title bar with a right-click menu #155345

sbatten opened this issue Jul 15, 2022 · 3 comments · Fixed by #155276
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan plan-item VS Code - planned item for upcoming titlebar VS Code main title bar issues
Milestone

Comments

@sbatten
Copy link
Member

sbatten commented Jul 15, 2022

This presents a special challenge on Windows as we do not receive mouse events when right clicking draggable regions: electron/electron#24893

I've leveraged this PR to try out intercepting the events in the main thread and passing the necessary information to the render process.

@sbatten sbatten self-assigned this Jul 15, 2022
@sbatten sbatten added feature-request Request for new features or functionality plan-item VS Code - planned item for upcoming titlebar VS Code main title bar issues labels Jul 15, 2022
@sbatten sbatten added this to the July 2022 milestone Jul 15, 2022
@vscodenpa vscodenpa 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 Jul 15, 2022
@tjx666
Copy link
Contributor

tjx666 commented Jul 21, 2022

@sbatten @jrieken
How to restore the toolbar item after I remove it...
I find I can't find a way to restore it even restore settings sync data

@sbatten
Copy link
Member Author

sbatten commented Jul 21, 2022

This particular issue refers to this menu
image

You can right click to restore any unchecked item. If you are referring to individual toolbar items e.g. the layout controls items menu below, you can right click any other item in the toolbar to restore unchecked items.
image

@tjx666
Copy link
Contributor

tjx666 commented Jul 21, 2022

@sbatten @jrieken

I hide the codeRunner icon, but can't find a way to restore it.

Snipaste_2022-07-21_14-16-22

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan plan-item VS Code - planned item for upcoming titlebar VS Code main title bar issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants