Hi
If I make a mistake and drag a repeated event block (for instance a second When Clock1 .Timer block), then 2 errors appear displayed on screen. That's fine.
But when I delete the repeated block, the error count remains to 2, as seen on the atached image.
The error count resets if I click on Show Warnings.
But it appears again to 2 as soon as I click in the up or down arrows to see the warnings.
EDIT:
Sorry. I was confused. In fact the total error count is correct (0), but the "2" on the screen seems to indicate that the second error is selected for review (of a total of 0 errors).
Please set the category to MIT App Inventor help first, once we find the problem, we will move it to bugs and other issues category (if the problem was a bug)
Thanks. I know.
I set those blocks unconnected on purpose, to demonstrate that, when clicking on the arrows to highlight and move the center of the screen to one of the warnings, the nearby display of the errors also changes, to show 2/0 (despite I already deleted the repeated clock block, and there are no longer errors).
This is not a real problem for my project.
I just thought it might deserve a fix.
There you are the project file, in case somebody feels like investigating.
A couple of times I almost had a heart atack when I changed from Screen1 to Screen 2 in one big project, and I had >500 warnings and errors displayed.
Fortunatelly, they went off by clicking the "Show Warnings" button.
The m/n error count after the red X or yellow triangle says that the previous/next counter (2) has not been reset after the total error count (0) has been reset.
I would classify this as either an error of omission (updating the 2) or an attempt to preserve the prev/next context after the deletion of the error.
Though the bug is not a show stopper, it has educational value.