codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

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

Open chillydk147 opened this issue 7 years ago • 13 comments

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

chillydk147 avatar May 27 '19 15:05 chillydk147

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

CompuIves avatar Jun 01 '19 12:06 CompuIves

No still gone, see attached screenshot ss

chillydk147 avatar Jun 01 '19 12:06 chillydk147

Oh wow, the whole menu bar is gone. Does your console say anything in particular?

On Sat, Jun 1, 2019 at 2:47 PM chillydk147 [email protected] wrote:

No still gone, see attached screenshot [image: ss] https://user-images.githubusercontent.com/9335909/58748637-d7509a00-8473-11e9-9c52-6dc384290a47.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codesandbox/codesandbox-client/issues/1982?email_source=notifications&email_token=AAEPKCGX6GZQB24JCBHGRH3PYJVXZA5CNFSM4HP4XIW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWW77YY#issuecomment-497942499, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEPKCG647CLLAKBYFEXKUDPYJVXZANCNFSM4HP4XIWQ .

CompuIves avatar Jun 01 '19 13:06 CompuIves

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

chillydk147 avatar Jun 01 '19 13:06 chillydk147

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 avatar Jun 05 '19 03:06 Saeris

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

chillydk147 avatar Jun 05 '19 07:06 chillydk147

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

Saeris avatar Jun 05 '19 08:06 Saeris

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.

chillydk147 avatar Jun 05 '19 08:06 chillydk147

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

2jj avatar Dec 07 '19 08:12 2jj

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

rodrigosanchezg8 avatar Oct 16 '20 22:10 rodrigosanchezg8

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.

Zwornik avatar Apr 21 '23 18:04 Zwornik

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.

DivyDeshmukh avatar Aug 02 '24 07:08 DivyDeshmukh

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

filipelima18 avatar Aug 08 '24 11:08 filipelima18