Open per1234 opened 3 months ago
I'm not 100% sure, but if collapsing the view frees the port, what happens if I want to see the output again? Wouldn't reconnecting cause an Arduino Uno to reset? Is that 'intuitive behaviour'? If this is so, the behaviour on collapsing should at least be an option.
Describe the request
When the Serial Monitor view is opened, the monitor opens the selected port. When the view is closed, the port is closed, allowing it to be used by other processes.
The bottom panel or right side panel of the Arduino IDE window serve as the containers for the Serial Monitor view.
The user can control the visibility of these panels. From a user's perspective, there isn't a significant difference between collapsing the panel in which the view is located and closing the view because either results in the visual disappearance of the view. However, there is a significant functional difference in that the port remains open in Serial Monitor when its view is collapsed. Not realizing that the port is still being used can be problematic because it blocks any other application (even including Arduino IDE's own firmware updater and upload operation in some cases) from opening the port.
š A more intuitive behavior would be for Serial Monitor to close the port when the view's panel is collapsed.
Demo
arduino.monitor.dockPanel
in the "Search Settings" field of the "Preferences" tab.arduino cli monitor
for this purpose, the Arduino IDE 1.x Serial Monitor, a standalone terminal emulator like PuTTY, or whatever else you have on hand. š The other application can't open the port.Note that these two icons are very similar, and adjacent, yet have very different functions. The difference between the two is not well communicated to the user:
Arduino IDE version
aa9b10d
Operating system
Operating system version
Additional context
Originally reported by @mjs513 at https://forum.arduino.cc/t/should-we-still-report-and-check-for-semi-minor-issues-and-annoyances/1290531/9
Issue checklist