-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Sketch doesn't always refresh when the Arduino IDE is refocused #6088
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
@facchinm I've had a go using that build. It has improved the problem, but there's still at least one situation where it doesn't reload correctly, although from my observation of its behavior I think it may now be limited by the editor saving it at certain points. I've recorded what happens, (time-stamped links are also below): The behaviors that the video demonstrates are as follows:
The stacktrace text is here. |
PR #6074 doesn't handle the full file wipe ATM, and I think it shouldn't (or it should show an informative popup). The double click behaviour is quite strange (it doesn't happen on Linux so it deserves more investigation). |
Mmmmh, I just tested on a Win10 VM and I can't reproduce your behaviour with plain 1.8.1... Could it be a Java bug related with the particular video card (like Nvidia's bug some times ago)? |
Hmmm, odd, the only other factor I can think of would be the save behavior of CLion (the Jetbrains IDE for C/C++). |
I found out that the behavior of not refreshing still being exhibited in Arduino 1.8.5. I'm in Windows 10 and use Emacs as external editor. Although, "Fix Encoding and Reload" in Tools seems a reasonable workaround to manually reload it. |
When using the Arduino IDE on Windows with an external editor (set as such in the preferences) simply clicking back onto the window doesn't refresh the sketch that is open. As far as I am aware, it must be reopened by clicking on its icon in the toolbar to get it to refresh the sketch.
The text was updated successfully, but these errors were encountered: