Unable to send from Serial Monitor/Plotter of subsequent windows #752
Labels
topic: code
Related to content of the project itself
topic: serial monitor
Related to the Serial Monitor
type: imperfection
Perceived defect in any part of project
Describe the bug
The Serial Monitor and Serial Plotter have an input field the user can use to send data over the selected port.
🐛 In all except the first Arduino IDE window of the session with a given port selected:
To Reproduce
Preparation
Upload a sketch to your Arduino board that echos serial input as well as autonomously sending serial output:
The bug will occur regardless of which sketch is on the board. This sketch is only intended to make the behavior easier to observe.
Observe baseline working state
This procedure is not required to reproduce the bug. It is only intended to prove that the issue does not occur in the first window of the session.
🙂 Notice that random numbers are periodically printed to the Serial Monitor view's output field, as expected.
4242
into the the "Serial Monitor" view's "Message" field.🙂 Notice that the sent text
4242
is printed to the Serial Monitor view's output field, as expected.🙂 Notice that random numbers are periodically plotted in the Serial Plotter, as expected.
4242
into the the "Serial Plotter" window's "Type Message" field.🙂 Notice that the sent value
4242
is plotted in the Serial Plotter, as expected.This is not mandatory to reproduce the bug. It is done so that Serial Monitor will not be open in the first window of the next session, which might give the impression that is a required condition to reproduce the bug.
This is not mandatory to reproduce the bug. It is done so that it is clear that none of the operations performed during this procedure are required conditions to reproduce the bug.
Observe bug
This loads the second window of the current IDE session.
🙂 Notice that random numbers are periodically printed to the Serial Monitor view's output field, as expected.
🐛 Notice that there is an unexpected banner in Serial Monitor:
4242
into the the "Serial Monitor" view's "Message" field.🐛 Notice that the sent text
4242
is not printed to the Serial Monitor view's output field.🙂 Notice that random numbers are periodically plotted in the Serial Plotter, as expected.
🐛 Notice that the Serial Plotter window title has the "(disconnected) suffix.
🐛 Notice that a "Board disconnected" notification is shown in the Serial Plotter window.
🐛 Notice that Serial Plotter's "Type message" field and some other UI elements are disabled.
Expected behavior
Serial Monitor and Serial Plotter of subsequent IDE windows for a given port selection to allow sending data.
Desktop
Date: 2022-01-13T17:15:54.562Z
CLI Version: 0.20.2 [13783819]
Additional context
I bisected the related issue #726 to 767b09d (it does not occur at 8839793).
The text was updated successfully, but these errors were encountered: