*Version: rc8-nightly-20220627
*Imperfection: Failed compile error label does not go away until you close it.
*Intended behavior: Label would disappear once you re-build
No big deal, just sometimes you think that the build has errors when it does not.
Thanks for your excellent feedback @micahfriesen .
I have submitted a formal request to the Arduino IDE developers on your behalf:
opened 04:38AM - 08 Jul 22 UTC
closed 02:55PM - 15 Aug 22 UTC
type: enhancement
conclusion: resolved
topic: code
### Describe the request
Automatically close compilation and upload error not… ifications when a subsequent compilation or upload is triggered.
🙂 The user will only be presented with relevant notifications.
### Describe the current behavior
The Arduino IDE opens a notification when compilation or upload of a sketch fails. This is an excellent way of supplementing the more verbose and cryptic error messages shown in the "**Output**" view.
Although very valuable in the time after a failed compilation or upload, this notification is no longer relevant when a subsequent compilation/upload is triggered, since at that point the user is only interested in what the result will be of the current operation.
Currently, the notifications of errors from previous compilations/uploads are retained until the user manually closes them, which some might not think to do.
1. Create a sketch that will fail to compile:
```cpp
#error
void setup() {}
void loop() {}
```
1. Select **Sketch > Verify/Compile** from the Arduino IDE menus.
1. Wait for compilation to finish.
🙂 A notification clearly communicates that there was a compilation error:
> **❌ Compilation error: #error**
1. Fix the problem with the sketch:
```cpp
void setup() {}
void loop() {}
```
1. Select **Sketch > Verify/Compile** from the Arduino IDE menus.
1. Wait for compilation to finish.
There are now two notifications, shown in this order:
> **ⓘ Done Compiling**
> **❌ Compilation error: #error**
The "**Done Compiling**" notification does not clearly indicate a successful result. It also disappears after 3 seconds while the "**Compilation error**" notification is persistent.
🙁 It may not be clear to the user that the current compilation or upload was successful.
This is what the IDE looks like at the completion of a successful upload following some expected struggles:

### Arduino IDE version
2.0.0-rc8-snapshot-1073c3f
### Operating system
Windows
### Operating system version
10
### Additional context
Originally reported at https://forum.arduino.cc/t/imperfection-improvement/1010339
### Issue checklist
- [X] I searched for previous requests in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the feature was still missing when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My request 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.
Thanks! Will look forward to a fix.
system
Closed
January 4, 2023, 1:33pm
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.