Open
Description
Describe the problem
Users reported that IDE2 could become non-functional after waking the OS from sleep. It has happened on macOS and Windows (eclipse-theia/theia#12707). I tried various pmset
options but could not reproduce the defect. Searching boards, libraries, and compile+upload do not work.
To reproduce
Sleep the OS for enough time (I do not know how much) while IDE2 is running, wake the OS, IDE2 does not work. Even quitting the app does not do anything.
Expected behavior
After the OS wake, IDE2 works.
Arduino IDE version
2.1.1
Operating system
macOS
Operating system version
13.4.1
Additional context
Related IDE2 change: 30136b0
Upstream issue: eclipse-theia/theia#12707
Additional Reports
- Whole window goes blank and stops responding, can't even close #2297
- Application cannot be close after windows 10 sleep cycle #2331
- IDE might get into a non-functional state after OS sleep/awake cycle #2148 (comment)
- Some IDE instances become unresponsive #2467
- https://forum.arduino.cc/t/ide-2-1-0-freezes-during-compile-after-a-period-of-sleep/1138808
- https://forum.arduino.cc/t/ide-2-1-0-freezes-during-compile-after-a-period-of-sleep/1138808/4
- https://forum.arduino.cc/t/need-to-close-ide-via-task-manager-after-sleep-win11/1257657
- https://forum.arduino.cc/t/ide-2-3-2-shows-offline-and-freezes/1300783
- https://forum.arduino.cc/t/ide-2-3-3-not-possible-to-save-project-after-windows-hibernation/1319474
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details