I know that this is something that should be avoided, but still.
How to reproduce:
Share another empty folder located in the previously shared folder between Device A and B.






The error messages get cleared after pausing and resuming the affected folders, or restarting Syncthing itself. Temp files created in the process also get deleted after 24 hours, so this is more or less a cosmetic issue, because the folders are in fact in sync.
One problem here is that these error messages do not describe what is really going on. The first one, i.e. "file modified but not rescanned; will try again later" means nothing to the user, and the second one, i.e. "The system cannot find the file specified." is simply not true, because the actual file is there.
Tested with main (v1.11.0-rc.3.dev.7.gdeafe4ca).
I can't reproduce on current main. This might have been fixed by https://github.com/syncthing/syncthing/pull/7093 - could you please try if you still get the problem now?
Hmm, so I have re-tested this with the current main, and I can confirm that the main problem is gone.
What is still left are all those temp files that remain in the folder for 24 hours. Is there anything that can be done about it other than waiting for Syncthing to delete them later?
What likely happens is that one folder first syncs the file, then the second starts to as well and at the last step aborts, as the file changed unexpectedly due the first folder syncing. And the temp file remains on purpose when there's an error syncing, for potential reuse. So I consider this working as desired.