Skip to content

Serial Monitor takes visibility from Output view during upload #1096

Open
@per1234

Description

@per1234

Describe the problem

When uploading to a native USB board while Serial Monitor is open, the "Serial Monitor" view takes visibility from the "Output" view twice during the upload:

sm-focus

🐛 Users who want to monitor the upload process via the "Output" view will find it inconvenient to lose sight of it in the middle of the process, and then have to select the view once more after every upload.

To reproduce

  1. Connect a native USB board (e.g., Leonardo, Micro, MKR boards, Nano 33 IoT, Nano 33 BLE) to your computer.
  2. Select the board and port in the Arduino IDE.
  3. Open the "Serial Monitor" view.
  4. Select the "Output" view.
  5. Click the "Upload" button.

🐛 The view visible in the bottom panel is switched multiple times, as follows:

  1. "Output" view
  2. "Serial Monitor" view
  3. "Output" view
  4. "Serial Monitor" view

Note that the view that is visible after the process finishes does not match the user's selected focus.

Expected behavior

The "Output" view retains visibility throughout and after the upload process.

Arduino IDE version

2.0.0-rc7-snapshot-a54d7c8

Operating system

Windows

I am not able to reproduce the issue on my Linux machine.

Operating system version

10

Additional context

If the user had the "Serial Monitor" view selected at the time the upload process was triggered, it would be reasonable to return that view to visibility at the end of the upload process (as was requested here).

However, even in this case the switch from the "Output" view to the "Serial Monitor" view and then back to the "Output" view in the middle of the upload process is surely a poor user experience.

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

Labels

topic: codeRelated to content of the project itselftopic: serial monitorRelated to the Serial Monitortype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions