After exiting sleep mode, IDE reloads and changes are lost #2704
Labels
topic: theia
Related to the Theia IDE framework
type: imperfection
Perceived defect in any part of project
Describe the problem
When the operative system re-activate from sleep mode, the IDE seems to perform a reload (loading logo is shown) and current changes in the code, logs in output view and serial monitor are lost.
To reproduce
The "Preferences" dialog will open.
The "Preferences" dialog will close.
🐛 The IDE reloads and all unsaved changes to the sketch are lost.
🐛 The content of the output view and serial monitor is cleared.
Expected behavior
The IDE should maintain the current state through sleep/wake cycles.
Arduino IDE version
2.3.6
Operating system
Operating system version
Additional context
I bisected the regression to 859d29d / #2654 (does not occur when using the build at the previous commit d298b3f).
Originally reported at https://forum.arduino.cc/t/arduino-ide-2-3-5-problem/1371263 / https://forum.arduino.cc/t/ide-2-3-5-problem/1371404
Additional reports
Issue checklist
The text was updated successfully, but these errors were encountered: