You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I entered the text below as a new submission but was told to continue on here - as it seems like this issues has got lost in the cracks between Arduino and Eclipse - each one seems to be waiting for the other to do something......
The version of Eclipse-theia included in Arduino IDE V2.3.3 is - according to Arduino support - causing a highly reproducible issue with the use of UNC filenames when a Windows client and a Windows fileshare server are in use. I believe this is a known problem of quite long standing - please take this as a request to expedite a fix. .
Bug Description:
My config: Windows 10 22H2 Build 19045.5011 16GB RAM 3.2GHz Intel processor.
When Arduino IDE user opens an existing project which resides on a UNC network share like:
\windowserv\arduino\projects\myproject\myproject.ino
no error message is shown but the user only gets an empty template project. If the IDE is closed and restarted, then the project is correctly loaded. This affects any Arduino user who is using Windows to Windows file sharing using UNC. Arduino support says this is due to an issue with UNC filename handling in the Eclipse library.
Steps to Reproduce:
In Arduino V2.3.3 click on file->Open
Enter a UNC path like \\windowserv\arduino\projects\myproject\myproject.ino
Click "Open" button.
No error message occurs, but the user just gets a default empty project with just template "setup" and "loop" functions.
Close the Arduino IDE.
Open it up again - your project is NOW opened correctly.
The same thing happens if you click File-->preferences and set your default sketchbook location to a UNC share and open a project.
If you map the Arduino share to a local drive name (essentially mount the share as a drive letter) - for example map the share as drive "q:"
then open
q:\projects\myproject\myproject.ino"
then it all works as it should. This is not an ideal workaround for reasons given below.
Additional Information
This potentially affects any users of Arduino IDE on Windows (which is reckoned to be 70% of users) though in reality it is those using Arduino IDE in shared environments (home networks, schools, colleges, universities) who will be affected. As shown above, the mapped drives workaround is available, but that workaround comes with its own set of issues which arise from thread blocking in the client Windows system when network or hardware problems can occur - even if the shared drive is not actually in use. So the workaround is less than ideal.
Operating System: Windows 10 (probably 11 as well)
Theia Version: Whatever version is built into Arduino V2.3.3
Bug Description:
Attempting to open a folder from a network share fails silently.
Steps to Reproduce:
Set up
Create a network share:
foo
folder.Steps
bar
folder.🐛 A new window opens which does not have the
bar
folder loaded in the Explorer view.Additional Information
The fault does not occur if I open the folder from the drive instead of from the network share.
I can not reproduce the fault using VS Code.
The text was updated successfully, but these errors were encountered: