Skip to content

Unable to delete tab #1699

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

Open
3 tasks done
twanek opened this issue Nov 19, 2022 · 7 comments
Open
3 tasks done

Unable to delete tab #1699

twanek opened this issue Nov 19, 2022 · 7 comments
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@twanek
Copy link

twanek commented Nov 19, 2022

Describe the problem

In the latest IDE (2.0.2) when I select a tab, open the ... menu in the right, select Delete, click Ok, nothing happens.

To reproduce

select a tab, open the ... menu in the right, select Delete, click Ok

Expected behavior

to delete the selected tab

Arduino IDE version

2.0.2

Operating system

Windows

Operating system version

10, latest

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
@twanek twanek added the type: imperfection Perceived defect in any part of project label Nov 19, 2022
@per1234
Copy link
Contributor

per1234 commented Nov 19, 2022

Hi @twanek. There are two distinct types of sketch editor tabs in Arduino IDE:

Primary sketch tab

  • This tab has the same name as the sketch
  • It is normally the leftmost tab on the tab bar

Secondary sketch tabs

  • Name different from the sketch name

Please tell me which type(s) of tab you have selected when you experience this bug.

@per1234 per1234 added topic: code Related to content of the project itself status: waiting for information More information must be provided before work can proceed labels Nov 19, 2022
@per1234 per1234 self-assigned this Nov 19, 2022
@twanek
Copy link
Author

twanek commented Nov 19, 2022 via email

@per1234
Copy link
Contributor

per1234 commented Nov 19, 2022

Hi @twanek. GitHub removes attachments from emails so I can't see the picture you shared.

Please follow this link to the GitHub website and make the attachment in a comment there:

#1699

@twanek
Copy link
Author

twanek commented Nov 19, 2022

please see here:
image

@per1234
Copy link
Contributor

per1234 commented Nov 19, 2022

Thanks for the clarification. I asked because there is a known bug with deleting the primary sketch tab: #649

From your screenshot, I can see that you have a secondary sketch tab selected, so this is something different from #649

Unfortunately I have not been able to reproduce the bug.


I would now like to determine whether the problem only occurs for you with this one specific sketch, or does it occur with any sketch.

Please try this and tell me the result:

  1. Select File > New Sketch from the Arduino IDE menus.
  2. Click the ●●● icon on the right side of the editor toolbar.
  3. Select "New Tab" from the menu.
  4. In the "Name for new file" field, type secondary
  5. Click the OK button.
  6. Click the ●●● icon on the right side of the editor toolbar.
  7. Select "Delete" from the menu.
  8. Click the OK button.

After you do that, was the secondary.ino tab removed from the sketch?

@per1234
Copy link
Contributor

per1234 commented Dec 16, 2022

Hi @twanek. We are still waiting for you to provide the information requested in the previous reply so that we can proceed with the investigation or evaluation of this.

@twanek
Copy link
Author

twanek commented Dec 16, 2022 via email

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants