The IDE freezes/locks up when resuming a Win11 machine from sleep. If lucky I will be prompted to copy the code and paste into a text file or some such nonsense. But for the most part, the IDE freezes. This has been going on long time, and is quite vexing.
Strangely, I cannot find similar bug problem here on forum.
Is this an issue out there in the wild or is it just my computer?
Hi @bambuino . Are you using Arduino IDE 2.x? If so, the bug is being tracked by the Arduino IDE developers here:
opened 07:56AM - 20 Jul 23 UTC
topic: code
type: imperfection
topic: theia
### 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](https://github.com/eclipse-theia/theia/issues/12707)). I tried various [`pmset`](https://ss64.com/osx/pmset.html) 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: https://github.com/arduino/arduino-ide/commit/30136b0ef208a48042ecb1e18407ef525b772252
Upstream issue: https://github.com/eclipse-theia/theia/issues/12707
#### Additional Reports
- https://github.com/arduino/arduino-ide/issues/2297
- https://github.com/arduino/arduino-ide/issues/2331
- https://github.com/arduino/arduino-ide/issues/2148#issuecomment-2001967539
- 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
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
Thanks Per.
Reading that on Github reminds me that I too suffer the random offline red status bar also, and for no reason that I can figure out. Cannot edit code, the IDE is locked up when then red bar of death shows up.
Phew...not just me.
system
Closed
November 5, 2024, 1:43am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.