-
-
Notifications
You must be signed in to change notification settings - Fork 470
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
There are two new warnings every time I create a new tab.
root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///Users/a.kitta/Documents/Arduino/debug/alma.ino
They're false positives. The bug is here:
arduino-ide/arduino-ide-extension/src/browser/contributions/open-sketch-files.ts
Lines 187 to 189 in fe3fbb1
if (!widget) { | |
deferred.resolve(editorWidget); | |
} |
The condition should be inverted as commented here
arduino-ide/arduino-ide-extension/src/browser/contributions/open-sketch-files.ts
Line 183 in fe3fbb1
// If the widget was defined, it was already opened. |
To reproduce
Open IDE2, open a sketch, and a new tab. The editor opens, but there are two new warnings in the console.
Expected behavior
No warning
Arduino IDE version
Operating system
macOS
Operating system version
12.5.1
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
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project