-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Problems with 2nd monitor using Arduino IDE #9781
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
Comments
Hello @facchinm , |
yes it would be great if your problem is resolved |
`if ((screen.width != screenW) || (screen.height != screenH))` was making sure to reset every preference in case the display geometry changed. Unfortunately, on Windows 10, `Toolkit.getDefaultToolkit().getScreenSize()` reports only the primary monitor either if external display is connected or not. Fixes arduino#9781
`if ((screen.width != screenW) || (screen.height != screenH))` was making sure to reset every preference in case the display geometry changed. Unfortunately, on Windows 10, `Toolkit.getDefaultToolkit().getScreenSize()` reports only the primary monitor either if external display is connected or not. Fixes #9781
The problem is still here on MacOS Catalina 10.15.4 (also on older versions of Catalina). |
Still happening on Windows 10 as well. Closed IDE and disconnected secondary monitor. If I reopen IDE, the loading screen shows up and that's that. IDE window for last sketch is "invisible". Shows up in taskbar with the name of the last sketch, but cannot be brought up. |
I experienced a bug with the Arduino IDE when using a second monitor:
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)
The text was updated successfully, but these errors were encountered: