How to dock serial monitor

I've just installed the latest version.
The serial monitor opens in a strip below the program window.
I need the serial monitor and program window side by side to make best use of screen space
but I cant find a way to do that?

Hi @johnerrington. Thanks for giving the Arduino IDE 2.0.0 release candidate a try!

There is currently no way to move Serial Monitor to its own window. That is tracked by the Arduino IDE developers here:

You can currently reposition the panel Serial Monitor is in by dragging and dropping the "Serial Monitor" view tab to the quadrant of the Arduino IDE window you want to place it in.

1 Like

Dragging the tab worked. Thanks.

Yes it works as long as it's the first window to be docked there.

2 Likes

This has stopped working, in rc3 and the latest nightly release 2/22. I have two sub-windows, and I drag and drop the serial monitor (shows the '+' sign) all over the place. Nothing happens. No new sub-window pane is created. Please explain in more detail how this is done. Note that there is no Port connection established when I tried this. Thanks.

Hi @protovtol. I just checked and it is working fine for me with 2.0.0-rc3 and the latest nightly.

Please post a screenshot.

I too have problems with repositioning the Serial monitor window using Version: 2.0.0-rc4-nightly.20220218-nightly-20220218

Opening the SM always places it at the bottom of the screen. Clicking the SM tab and dragging allows it to be positioned to the right

However, once there clicking and dragging no longer works so it cannot be repositioned. Luckily closing and reopening the SM using its main icon, top/right of the IDE screen, puts it back at the bottom of the screen unlike the pop-up SM icon next to the SM which just hides and reveals the SM when clicked. Also, when on the right the SM window has no X to close it. See screenshot above

A similar thing happens if the SM window is dragged to the left of the screen and the SM window cannot be dragged elsewhere but it can be hidden and revealed

To add to the confusion, if the SM has been dragged to the left then closed with its main icon (not its X) the search window opens on the left

Open on the left

After closing (not hiding) the SM window

The user interface is a little bit inconsistent here. In order to drag a view from the bottom panel, you grab the view tab. But in order to drag a view from a side panel, you must grab its activity bar icon:

image

As far as I know, it has always worked this way, and it continues to work that way for me.

The UI is consistent when a tab style of activity bar is used rather than an icon style, as demonstrated in this video by the creator of the feature, Miro Spönemann:

Should be the same thing. Drag the activity bar icon.

I see that Theia has this same behavior, where if a view is closed (which is different from collapsed in that the activity bar icon is removed by a close), the adjacent view is expanded in the side panel. It seems like a strange behavior. I would expect the side panel to be collapsed regardless of whether I collapse or close a view.

OK problem solved. This is the problem: There are two "Serial Monitor" tokens on the screen. One is the SM window, and the other is an icon on the top right corner that when you hover over, says "Serial Monitor". I was always trying to reposition the 2nd token and it does not work. One must reposition the first token.

Thanks for the help.

You are welcome. I'm glad the "flexible window layout" capability is working for you now.

Unlike the "activity bar" icons, the components of the toolbar are not repositionable. So think of these as static buttons only used by clicking.

Hi all, I thought I should inform you that the "flexible window layout" capability was disabled as part of a fix for a bug related to split editors:

This change will make it no longer be possible to reposition the Serial Monitor view.

will there come a time when undocking or moving the SM window be enabled?
Russ from Ocala, Florida, USA

1 Like

Hi @rholt. I think so. Note this recent comment from one of the people leading the development of the Arduino on the issue I linked previously:

https://github.com/arduino/arduino-ide/issues/289#issuecomment-1070964887

it's definitely in our roadmap and at the top of the list.

We are giving maximum priorities to bugs that compromise the standard usage, next will come performance and UX improvements, like this issue with the monitor. We already designed the new one that is gonna be a separate window like the serial plotter.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.