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

View > Appearance > Toggle Menu Bar requires using the Command Palette to restore the Menu Bar #1982

Closed
chillydk147 opened this issue May 27, 2019 · 13 comments

Comments

@chillydk147
Copy link

Hello, I was playing about with the layout settings and I somehow disabled all the links at the top for "File, Edit, View etc". The options to change layout setting was also contained in a link beside "File, Edit View". Does anyone know how to switch this back on??? I can no longer save changes to my code via the "File->Save All" option

@CompuIves
Copy link
Member

Hmm, that is very weird. Is it now back for you @chillydk147?

@CompuIves CompuIves added the bug? label Jun 1, 2019
@chillydk147
Copy link
Author

No still gone, see attached screenshot
ss

@CompuIves
Copy link
Member

CompuIves commented Jun 1, 2019 via email

@chillydk147
Copy link
Author

Yep it's gone, no the console says nothing, even when I create a new sandbox the menu still does not show for me

@Saeris
Copy link
Contributor

Saeris commented Jun 5, 2019

Hmm, you can still toggle this setting via the command palette (CTRL/CMD+SHIFT+P) and typing toggle menu bar. That should restore the menu bar for you.

Thanks for reporting this! We should consider rolling out a change to this behavior because it's definitelly a bad user experience!

@Saeris Saeris changed the title Can no longer see the "File->Save All" option View > Appearance > Toggle Menu Bar requires using the Command Palette to restore the Menu Bar Jun 5, 2019
@chillydk147
Copy link
Author

Thanks for your solution, I've tried to enter "Ctrl+Shift+P" but it opens a Firefox for a private browsing session, I've also tried entering "toggle menu bar" in the console window field but it doesn't work either. I know i need to open this "Command Pallette" but can't see an option for it

@Saeris
Copy link
Contributor

Saeris commented Jun 5, 2019

I've tried to enter "Ctrl+Shift+P" but it opens a Firefox for a private browsing session

Ah, yeah I see that's a problem specific to Firefox then. We'll have to do something about that hotkey as it seems the browser won't let us override it.

Another workaround to get the Command Palette up is to press CTRL/CMD+P, which if you then add a > character to the beginning will switch from navigating files to entering an editor command. See the example screenshot below:

image

This behavior should be exactly the same as Visual Studio Code, so the following documentation on it's UI should mostly apply to the CodeSandbox Editor too.

https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette

@chillydk147
Copy link
Author

chillydk147 commented Jun 5, 2019

Thanks so much, that has worked perfect now. The original thing I did was to click "View->Appearance->Toggle Menu Bar", I still don't see why this should be an option unless you can get the menu bar back without using the command pallette.

@2jj
Copy link

2jj commented Dec 7, 2019

you can still toggle this setting via the command palette (CTRL/CMD+SHIFT+P) and typing toggle menu bar.

@Saeris tried this (Chrome/Windows), not working, can't get my menu back
image

@rodrigosanchezg8
Copy link

Had the same issue, hotkey didn't work, solved by clearing the localStorage.

@Zwornik
Copy link

Zwornik commented Apr 21, 2023

This solution does not work on Firefox, Chrome and Edge. The menubar is not visible.
Also, changing settings in File>Preferences>Settings and typing menubar and selecting 'visible' under Menu Bar Visibility does not change the appearance. Reloading the webpage doesn't help either. Help, please.

@DivyDeshmukh
Copy link

I am facing the same issue now and I am not even getting any options to commit also due to which I am unable to push changes also.

@filipelima18
Copy link
Contributor

@DivyDeshmukh - can you share a screenshot of your editor, as well as any details that might help us troubleshoot the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants