Description
I experienced a bug with the Arduino IDE when using a second monitor:
- I plugged in my 2nd monitor
- opened the Arduino IDE
- moved the Adruino IDE window to my 2nd screen
- (after work on sketch was finished) closed the window on 2nd screen
A few days later I tried to open the same sketch, but this time with no 2nd monitor connected.
The Arduino IDE would only show an icon in the taskbar. The program would not open, and just show a blank preview if I hover over the taskbar-icon.
My solution for the problem was to plug in the 2nd screen. The IDE window showed up there. I had to move it to the main screen and close it there to prevent the bug from appearing again.
I'm not used to this behaviour, so it took quite a long time to figure out what could be the cause of the problem. Other programs usually open on the first monitor if no 2nd monitor is connected, even if they got closed on the 2nd screen.
My system:
Microsoft Surface Pro
Windows 10
Arduino IDE 1.8.12 (Installer)