-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
IDE starts unexpectedly; sketch is not set as workspace root, menu items are missing #1044
Comments
Please try with |
@kittaakos I launched arduino from the desktop icon. It asked me to update and i did. After restarting arduino, i tried to save my currently open project. The save happened ( the files are created and my project become the saved one) but the editor has a few problems: -I get an empty window with no tabs or board -When i click on file > open, nothing happens -When i click on the red cross to quit the program, nothing happens It seems like the ui is partly functionnal but no action are started after a click ( i had to kill the process to close the IDE. After closing and opening the file directly from windows No more duplicate tabs or long filenames ! I did the same thing a second time with same results: So in conclusion thank you for correcting the "tabs" bug and it would be nice if you could check the "saving make the editor kinda freeze" bug. |
Thank you! I need some info to further investigate it. Can you please tell me the path where you installed IDE2? Maybe this is the problem: #106 How did you install IDE2? Installed or zip? If installer, how did you install it? Maybe there is a permission issue. If you're willing to help, please start the IDE2 ( |
Please run |
|
You're great support. Thank you!
Please attach a more details screenshot. I need to see the bottom of the IDE2 window. There's the status bar. Like this: Is it purple? If yes, it's the same as #1089.
Are you working on remote or local sketches?
I can confirm that I do not see any traces of the "path too long" issue in the logs. |
I'm sorry i will keep adding weird issues. I don't remember if it was purple but it shouldn't have been because : 1-if it is related to a non existing path when i save my project all files are created so path are valid ?) 2-keep reading ( fourth try ) Arduino install path is default. I tried the same thing as earlier : save as... weird issue first try: but this time i got a "hanging screen (files are created normally: I still have the "UI menu work but doesnt open a file" but the closing cross work this time ! weird issue second try : everything worked normally (files are created and new copy project is the active project No idea why everything seem to work this time. I then erased the multiple copy folders and restarted the IDE. weird issue third try : it must have remembered the path of the multiple copie since i was greeted by this : I thought "ok, it's normal i just have to open a project. I did and decided to do the steps AGAIN. weird issue fourth try : back to square one it seems : No purple like the first times i think. I noticed something that may help you, some options are lacking : No sketchbook, recent, Examples... I just remembered i have had this bug sporadically before but not sure why. I will try again tomorrow or the day after to try to pinpoint the cause more. |
@kittaakos I took a nightly build (2.0.0-rc9-20220727). I open a project that had already been re saved ( EspNOW_Remote_copy_20220624144759 ), it opened fine. I tried to save as... and i got the same hanging as before and the files are created (with a different moving circle thingy). I closed the nightly, deleted my "copy copy" and then reopened the nightly and was greeted by the normal empty sketch. So for now i just got the "saving get the editor into hanging mode" bug but restarting with a deleted project doesn't f*** up the UI anymore. I will come back here if i see other related problems in the future. |
Describe the problem
I opened a project and i noticed that some tabs had the file path in it and that some tabs had duplicates
I did some searches about it and some people had different cause for it like opening from recent,...
I found the cause in my case : My project is a copy made by the "save as" menu. By saving that way the editor adds "_copy" and the date and time to the saved filename.
By deleting the Date and Time from the .ino file and the folder, my problem disappears.
Maybe the cause is something to do with filename length or "total file path" too long ?
I hope it will help someusers or the Arduino team.
Have a nice day !
To reproduce
Maybe make a long file name with lots of caracters in it ?
Expected behavior
Duplicate Tabs and file path in tabs
Arduino IDE version
2.0.0 RC7
Operating system
Windows
Operating system version
Win 10 family 21H2
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: