Arduino IDE 2.2.1 - auto save popup box - The file 'xx.ino' as been changed on the file system

Hi all,

I've only been using the new IDE for a few days, and wondered if anyone has a fix to this?

While typing code I very often have a popup box informing me about saving the changes to the sketch:

The file 'xx.ino' has been changed on the file system.
Do you want to overwrite the changes made to 'xx.ino' on the file system?

I have not made any other changes to this file in the meantime, but somehow the IDE thinks that the saved file differs from the on-screen file.

I have auto save ticked in preferences.

Issue:
It becomes an issue as when you are mid-flow in typing (looking at the keyboard), you then glance up at the screen to notice that half of you code hasn't made it into the sketch as the popup has been sat there for the last 30 seconds, blocking the keyboard input.

I have attached screen-shots of the issue:
arduinoIDE2.2.1-autosave-issue1

My system info:

Using the Arduino IDE 2.2.1 Appimage on Linux Mint 20.

System: Kernel: 5.4.0-155-generic x86_64 bits: 64 compiler: gcc v: 9.4.0
Desktop: Cinnamon 4.6.7 wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal

The .ino file I'm working on sits on my NAS drive. This is not mounted to a local directory location, instead I use Nemo file explorer to sftp (ssh) to the NAS drive.

I don't think I have had this issue with locally saved files (using git for backup). But I wish to use my local NAS in this instance for security as this sketch contains my Wifi credentials and an API key.

Cheers, Scott.

I checked the system time of my NAS drive, and found it to be stuck on manual and set to 2018. This may be the result of a Synology update in the background, as I've certainly never had the need to set the time/date manually. I've now set it to NTP and it's up to date.

But this did not resolve the issue as I'm still getting the popup box.

Cheers, Scott

may be related to Unable to open sketches from UNC path · Issue #1797 · arduino/arduino-ide · GitHub

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.