Description
Describe the problem
I am experiencing a recurring issue with Arduino IDE version 2.3.5 on my Windows system. Specifically, when I double-click on a .ino file to open it, the IDE always opens the previously opened sketch instead of the newly selected file.
To reproduce
-
Steps to reproduce:- Open Arduino IDE and load file A (fileA.ino).
-
Leave file A open.
-
Double-click on file B (fileB.ino) in the file explorer to open it.
-
Observe that instead of file B, the IDE reopens file A.
-
Observed behavior:
-
- A new IDE window briefly appears but closes immediately, leaving the old sketch (file A) opened instead of file B.
-
This happens consistently regardless of the .ino file selected.
-
Additional notes:
-
- My Task Manager shows multiple Arduino-related processes running (around 10), which seems unusual compared to other systems where fewer processes are observed.
-
I’ve tried reinstalling the IDE, resetting preferences, clearing temporary files, and even manually opening files using the IDE menu, but the issue persists.
-
I am using the latest version of the IDE from the official Arduino website.
Expected behavior
Please investigate if this is a bug related to file management, task handling, or process conflicts in the IDE.
Arduino IDE version
2.3.5
Operating system
Windows
Operating system version
Window 11 Home 64 bit (10.0, Build 22631)
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