Skip to content
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

Tabs also show the path #665

Closed
VladimirVecera opened this issue Dec 3, 2021 · 10 comments
Closed

Tabs also show the path #665

VladimirVecera opened this issue Dec 3, 2021 · 10 comments
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@VladimirVecera
Copy link

I use multiple files in the project and unfortunately after upgrading from beta 11 to RC1 I have a problem with the open file names in the project. In addition to the name, the path is also displayed, so the whole tab is nonsense.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 64bit
  • Version: RC1
@VladimirVecera VladimirVecera added the type: imperfection Perceived defect in any part of project label Dec 3, 2021
@per1234
Copy link
Contributor

per1234 commented Dec 4, 2021

Hi @VladimirVecera. Thanks for your report! I also have noticed this change, but I have only observed it while I am experiencing this bug: #656. The duplicate tabs bug occurred prior to #610, but before that the duplicated tabs only had the file name.

Please provide a detailed set of instructions we can follow to reproduce the issue.

Does this issue occur for you with any sketch (e.g., File > Examples > 01.Basics > Blink), or it is only a specific sketch? If the latter, please attach the sketch in a reply here as a .zip file.

@per1234 per1234 added the topic: code Related to content of the project itself label Dec 4, 2021
@VladimirVecera
Copy link
Author

If I open any example from the library, the name in the tab works fine. Only the name is displayed.

However, if I open any sketch, its path will always be displayed in addition to the file name.

@per1234
Copy link
Contributor

per1234 commented Dec 4, 2021

What is the technique you use to open the sketch @VladimirVecera?

@VladimirVecera
Copy link
Author

@per1234
Copy link
Contributor

per1234 commented Dec 4, 2021

Thanks. That is useful. I can see the duplicated tabs:

image

so you are experiencing #656. But I'll leave this open because I think we should keep an eye out for valid conditions under which this unhelpful path is shown in the tab.

I have only experienced this problem while opening sketch files from the "Sketchbook" sidebar panel. I don't think you will have the problem if you open sketches using File > Sketchbook or File > Open or File > Recent.

@VladimirVecera
Copy link
Author

More detail. After opening the sketchbook, the tab will load fine. But as soon as I click the mouse on the project, the path is added to the tab.

2021-12-04-10-55-28.mp4

@per1234
Copy link
Contributor

per1234 commented Dec 15, 2021

There is another report of the path in the tab text here:

https://forum.arduino.cc/t/ide-2-0-0-rc2-inconsistent-tab-naming/936096

This time it is happening with the last open sketch that opens automatically on startup in the Arduino IDE, and only on every other startup. I haven't been able to reproduce that variant yet.

@per1234
Copy link
Contributor

per1234 commented Dec 21, 2021

Another report here:

https://forum.arduino.cc/t/very-incorrect-display-in-the-tab-line/938102

And here is another triggered by a theme change captured on video:

https://www.youtube.com/watch?v=4lTERoWGXeE&t=545s

@per1234
Copy link
Contributor

per1234 commented Dec 26, 2021

One of the several things that can cause this issue is upgrading from Arduino IDE 2.0.0-beta.11

  1. Start Arduino IDE 2.0.0-beta.11
  2. Quit Arduino IDE 2.0.0-beta.11
  3. Start a newer version of the Arduino IDE.
    The last sketch is opened with duplicated tabs.

@per1234
Copy link
Contributor

per1234 commented Jul 19, 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

3 participants