Text selection broken in IDE Serial Monitor 2.1.1

Using Arduino 2.1.1 on MacOS 11.7.9

I'm trying to select more than one window's worth (16 lines) of text in Serial Monitor, by scrolling while selecting.

When the window scrolls, the text selection is truncated to about 2 lines above the window.

Various other bizarre stuff happens to the begin and end points of the current selection if I try to enlarge the selection past the window boundary by drag-select or shift-select+arrow keys.

Also the current selection seems to get corrupted just by scrolling the window around.

Without even scrolling the window, the shift-select+arrow key behavior is broken for up-arrow, tho it seems to work for the other 3 arrow key directions, as long as I don't try to select above or below the current window position.

Scrolling the window shouldn't affect the boundaries of the current text selection, any more than it should affect the text contents.

Hi @myklemykle. The Arduino IDE developers are tracking this bug here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:

image

I can confirm what myklemykle wrote.
Actually, it is even worse: in the old IDE you could select all text by pressing Ctrl-A and copy it to any editor.
Using the new IDE 2.1.1, Ctrl-A in the Serial monitor does not work any longer (actually, Ctrl-A selects the source text of your sketch), and with large amounts of text only that part can be selected and copied that is visible on the screen.
Strange and not really funny: now each sketch has its own serial monitor. When working with several sketches at the same time and having their monitors open, each printing will eventually be sent to all of them. This could not happen in the old IDE.

The Arduino IDE developers are tracking this bug here:

You can subscribe to that GitHub issue to get notifications of any developments related to the subject matter.

That will only happen if you have the same port selected in all the windows. The Serial Monitor of each window prints the data received on the port selected in that window, and you can have a different port selected in each window. This is very useful when you are working on a project that involves multiple Arduino boards because it means that you can communicate with all the boards in parallel during development and troubleshooting.

Yes, and quite a few users complained about that deficiency in Arduino IDE 1.x.

Developers always want an MCVE. I tried this one:


Mind you: the filenames are MCVE_IDE2_E.ino and MCVE_IDE2_F.ino
the sources are absolutely identical. I alternatively uploaded one of them, compare the outputs in both of the windows and also the change of the frequency of the flashing LED when uploading the other one.

Definitely, but only in the case of bug reports or support requests.

Is your "MCVE" intended to allow us to reproduce the behavior you mentioned before?:

If so, we don't need an MCVE for this intentional and expected behavior.

You have COM5 selected in both windows, so it is expected that the data received on COM5 will be printed to the Serial Monitor in both windows.

1 Like

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