Hello everyone.
This morning a new small problem with Arduino (IDE 2.0.3)...
Opening the IDE and selecting last night's sketch, Arduino shows me exactly TWO identical and mirrored ones.
That is to say, if I make a change on one, that change "magically" appears on the other one as well. Compilation occurs correctly, like I have only one.
I have tried loading some old sketches and the result does not change, I am shown two identical and linked sketches.
All obviously with the same IDE....
I don't understand what I have done or if the cat has been walking on the keyboard.
Has this ever occurred to you? And how have you solved it?
Thanks for your help,
Roberto
You're not alone; see [IDE 2.0.3]Double tabs
Thanks for your report @robymak .
The Arduino IDE developers are tracking this bug via the formal report here:
opened 04:46PM - 29 Dec 22 UTC
closed 04:56PM - 28 Mar 23 UTC
conclusion: resolved
topic: code
type: imperfection
### Describe the problem
I included a library via the menu and somehow this r… esulted in another tab opening for the same file. When I try to delete the file nothing happens. I've tried to move the sketch to some other folder and then open and that seems to work (after it renames the parent folder), but when I move it back to the original folder the new tab reappears.
I'm on Ubuntu 22.04.1 LTS and the latest stable version of the IDE shown on the website at the time of writing (2.0.3). I also tested on the latest nightly and it occurs there too.
If you need log files or something, please let me know.
![image](https://user-images.githubusercontent.com/31189070/209982612-ecc4ae19-0ac0-40a7-87c3-f10fe0d66655.png)
### To reproduce
I tried reproducing and couldn't. But the issue is still there, even when I open the project on the nightly build.
### Expected behavior
Delete closes the tab. Or closing and reopening the ediitor...
### Arduino IDE version
2.04-nightly-20221229
### Operating system
Linux
### Operating system version
22.04.1 LTS
### Additional context
The fact that this occurs across builds and after moving things around makes me think this has something to do with some kind of cache or (sketch?) settings file somewhere, but I don't know for sure.
I also remember the save icon being on briefly. I have autosave on, so I'm not sure if this happened before or after the library was included.
---
Additional reports:
- https://github.com/arduino/arduino-ide/issues/656#issuecomment-1363100279
- https://forum.arduino.cc/t/double-tabs-of-same-sketch/1089318
- https://forum.arduino.cc/t/2-0-beta-rc9-duplicate-tabs/1012459/4
- https://forum.arduino.cc/t/2-0-beta-rc9-duplicate-tabs/1012459/5
- https://forum.arduino.cc/t/arduino-ide-2-0-3-duplicate-tab-page/1084561
- https://forum.arduino.cc/t/ide-restarts-during-a-start/1081761
- Includes screencast and logs
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/1
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/2
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/3
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/4
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/7
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/8
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/9
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/10
- https://forum.arduino.cc/t/ide-2-0-3-double-tabs/1066585/11
- https://forum.arduino.cc/t/new-year-new-problems/1072182
- https://arduino.stackexchange.com/questions/91777/how-to-get-rid-of-the-second-tab-in-arduino-ide-2
---
Related:
- Previous incarnations of the duplicate tab bug (resolved:
- Issues:
- https://github.com/arduino/arduino-ide/issues/1054
- https://github.com/arduino/arduino-ide/issues/793
- https://github.com/arduino/arduino-ide/issues/665
- https://github.com/arduino/arduino-ide/issues/656
- PRs:
- https://github.com/arduino/arduino-ide/pull/1085
- https://github.com/arduino/arduino-ide/pull/1024
- https://github.com/arduino/arduino-ide/pull/1012
- https://github.com/arduino/arduino-ide/issues/482
- This bug produces a similar fault, but is otherwise unrelated.
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
I did some investigations today and posted my findings on the primary forum thread sterretje shared:
Thanks for your reports everyone.
The Arduino IDE developers are tracking this bug via the formal report here:
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
Unfortunately, I have not been able to reproduce this fault via use patterns resembling those described here and in the associated reports. I am aware of a couple of other use patterns that can produce duplicate tabs, which I have listed here , however…
system
Closed
July 2, 2023, 5:42am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.