arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.07k stars 353 forks source link

IDE window won't display #2399

Open Rob190 opened 2 months ago

Rob190 commented 2 months ago

Describe the problem

Windows 10 has a long-standing bug that (very) occasionally causes windows to be incorrectly sized and/or positioned when using multiple monitors. For some applications this moves the window outside of the desktop. Using 'cascade windows' (win10 only) usually works but for some reason the Arduino IDE doesn't respond as it should. The symptoms are that the icon displays correctly in the taskbar and hovering the mouse over the icon shows the current window but the window cannot be displayed.

To reproduce

The windows bug occurs very rarely (which is probably why it hasn't been fixed) and the IDE needs to be running when its triggered. It can usually only be triggered either by waking from sleep mode or when the display is blanked.

Expected behavior

Expect the IDE window to be restored.

Suggest adding an option on 'taskbar icon -> right click' to set the window to a sensible size within the current desktop.

Current workaround requires uninstalling and reinstalling the IDE.

Arduino IDE version

Version 2.3.2 (from task manager)

Operating system

Windows

Operating system version

10

Additional context

I did not check the nightly build. It is very difficult to reproduce this issue as it only occurs once every few months.

Issue checklist