Skip to content

Bring existing Serial Plotter window to foreground when selected from IDE UI #1346

Closed
@per1234

Description

@per1234

Describe the request

If a Serial Plotter window is already open, bring it to the foreground when it is selected by either of the following user actions:

  • Clicking the button on the Arduino IDE toolbar.
  • Selecting Tools > Serial Plotter from the Arduino IDE menus.

🙂 The user actions will have an intuitive effect.

Describe the current behavior

When it is opened, the Arduino IDE Serial Plotter appears in a dedicated window. While using the Serial plotter, the user is likely to switch back to the main Arduino IDE or other windows to adjust code, do research, etc. The Serial Plotter window will then be in the background, frequently either completely obscured by other windows or minimized, meaning it is really only visible as an item in the operating system task bar. They may forget Serial Plotter is already open and attempt to open it again via the Arduino IDE GUI, or perhaps just expect the selection to be a convenient way to bring it into visibility.

  1. Select any port from the Tools > Port menu in the Arduino IDE.
  2. Select Tools > Serial Plotter from the Arduino IDE menus.
    🙂 The Serial Plotter window opens in the foreground.
  3. Select the main Arduino IDE window.
  4. Select Tools > Serial Plotter from the Arduino IDE menus.
    😕 Nothing happens.
  5. Click the Serial Plotter button on the Arduino IDE toolbar.
    😕 Nothing happens.

🙁 The lack of any effect of the user's action might give them the impression that something is wrong with the IDE.

Arduino IDE version

2.0.0-rc9.2.snapshot-ca47e8a

Operating system

Windows, Linux

Operating system version

Windows 10, Ubuntu 20.04

Additional context

The Arduino IDE 1.x Serial Plotter and Serial Monitor windows are brought to the foreground on selection via the GUI if they are already open:

sp-select


Originally suggested at https://forum.arduino.cc/t/rc9-2-serial-monitor-send-button/1024938

I was pressing it a few times, until I noticed that it was still open, but behind te IDE.

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions