Funky title bar after reset

I got a notification that the IDE needed to restart so I did. When it came back up it looked like this:


 

Notice the verify, upload, and debug buttons overlain on the tabs.

If I switch to full screen mode it looks alright:
 

image

I did make a clang edit and have the editor looking at it instead of the default. The reason for the clang change is to make 'else' appear in the same column as the corresponding if.

Any chance the clang file caused this?

Hi @dougp. This happens when the IDE's "Window: Title Bar Style" advanced settings is changed to the "custom" setting. I'm not sure how the IDE got into this state, but I can provide instructions for changing it back to the normal state:

  1. Press the Ctrl+Shift+P keyboard shortcut to open the "Command Palette".
    A menu will appear on the editor toolbar:
    Command Palette screenshot
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Settings" tab will open in the Arduino IDE main panel.
  3. Type window.titleBarStyle in the "Search Settings" field of the "Preferences" tab.
  4. Select "native" from the menu under the "Window: Title Bar Style" setting entry.
    The "Restart" dialog will open.
  5. Click the "RESTART" button in the dialog.
    The Arduino IDE window will reload.
  6. Close the Settings tab by clicking its X icon.

The IDE should now be back to the normal functional design with separate title and menu bars

Thanks for the reply. I guess I'll just live with the 'else' indent thing for now.

You are welcome.

No, I don't think there is any connection. So you are free to continue to use a custom ClangFormat configuration if you like.

Went back to native then tried custom again. Whenever I go to custom the problem reappears..

That is expected. Unfortunately the "custom" option of the "Window: Title Bar Style " setting is not supported in this configuration (if I remember correctly, the limitation is specific to Windows). Please leave it set to "native".

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.