Skip to content

IDE starts unexpectedly; sketch is not set as workspace root, menu items are missing #1044

Open
@2ant

Description

@2ant

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

Capture

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

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions