IDE not displaying right on Win10

I have a standard Win 10 installation and have been using IDE 2.x for a few years. Recently, prb after the latest update, it began displaying incorrectly on the desktop. It is missing the top toolbar, the window cannot be moved, and the close button which is incorrectly placed does not work. I found some discussion of this through internet searches and found that adjusting a setting:

Reset Title Bar Style: Press Ctrl+Shift+P, select Preferences: Open Settings (UI), search for Window: Title Bar Style, and change it from custom to native. Restart the IDE if prompted.
Reset Menu Visibility: In the same Settings UI, search for Window: Menu Bar Visibility and ensure it is set to classic.

This works for a while but then the problem starts happening again and when the IDE loads a popup window says a setting has changed and the ide needs to restart and when it restarts it is messed up again. Can you please help me fix this I have standard normal installations of the IDE v2.3.10 and Windows 10 Home.

To my knowledge there is no known fix; the problem is old (at least 2023).

Steps to get back to a normal behaviour

  1. Close all IDE instances.
  2. Start the IDE.
  3. Sometimes you have to close and start the IDE a few times before it comes right. My record is 3 times (if memory serves me well).

The problem usually occurs when you have multiple instances of the IDE open.

I had it again today, and I believe once yesterday.... (Windows 11).

Usually takes me twice closing the windows to get it to work right again.

Most of the time, I see it, is after I left the computer for awhile. Not sure if it went to sleep and had issues with it... Or if some garbage collection code ran or ...

Also had second time today, where instead, of this I saw message after I got back from walk saying something like: There was no network available, you may need to restart arduino-cli to restore missing stuff (or something like that)...

Edit: Again...

I reported this issue a few years ago !! Many suggestions and hints but the one that actually works is to make sure to close all but one sketch before exiting the IDE. The next time you open the IDE, only that sketch shoud be there and then just open other sketches as needed. It is version 2.3.5 or 6 on Windows 10 that I am using. Good luck !!

Tom

Same here with 2.3.10 on Win11. Mostly, the IDE is reliable, but the IDE has days when it seems to need one (or a few) restarts. I always "copy" the sketch in the IDE (and paste in Notepad) because sometimes the IDE does not function properly to even save a file. I blame all this on "background" work of the IDE updating libraries, or sending my personal data to the dark web.

try 2 things 1- try reinstalling the ide 2 - (much easier) use latest version and install it

@ivan6000

Neither of your auggestions will solve the problem. The issue will come back.

then try using vs-code and platformio extension

I have the standard Arduino IDE v2.3.10 using standard Win10 and when I open ino files the main window initially randomly opens without the title bar and there are no menus or close button and can't be moved. Please fix this. I've already moved on to another IDE because of this.

May be related to

I think Iโ€™ve read that some users got it back by closing the IDE with Alt+F4 or from Task Manager, and start it again and It would returns to normal after one or two restarts.

Did you try?

I hit this every so often...
And yes closing the app and restarting, fixes it. As was mentioned, sometimes you have to close it a couple of times...

Note: I typically close it, by right clicking on the Arduino Icon in the taskbar and choosing to close all windows.

use the latest version will it not help???

Indeed not; just had the issue again on my Win11 PC.

This problem has been around for a couple of years now. A solution that seems to work for me every time is to close all open sketches except one using the CLOSE button in the dropdown before exiting the IDE. The next time you open the IDE, only that sketch should appear and should be fully functional - then just continue your work. Hope this helps.

Tom

with vs-code??

We're not talking about vs-code, we're talking about IDE 2.x.

I have merged your two topics on the same subject @perigalacticon.

In the future, please only create one topic for each distinct subject matter.

Thanks in advance for your cooperation.

so i recently had a same issue so i uninstalled ide and deleted the arduino15 foler and cleanded the cache this may help

Some of the time, when I end up with Display issue mentioned, it starts off with a message/display like:

In this case this is the only window I have open, and it happened just after, I did a save as of this sketch to put it into Another folder (one that I have on Github)...

But this time restarting I did not lose the title bar of the window, but often times I do....

Edit: Actually It did loose the title bar. I closed the window again and restarted and
then the title bar was back.

That is a terrible problem with the IDE. It goes away after a bit.