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:
opened 05:58AM - 19 Jun 22 UTC
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
When selecting text on the serial monitor (with the … connected device paused) upon scroll the range of the selection shifts in unpredictable patterns (at least i didn't see a reproducable pattern) which prevents selecting more then one page of the output. As of #812/#105 using ctrl+a is also not an option to select text in that tab.
As i do not have the problem of new text triggering a redraw which removes the selection, i do not consider this a duplicate of #812/#105, but feel free to correct me.
### To reproduce
* print multiple pages text on the serial monitor once e.g. in the setup() function.
* when all text is received select a bit of it
* scroll the output up and down a bit
### Expected behavior
The selection should stay between the first and last selected characters, and not randomly jump around.
### Arduino IDE version
#### Original report
2.0.0-rc7-nightly-20220615
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
10.0.19044.1706 Pro
### Additional context
My Nightly Build is 4 days old, but the 3 commits since then do not have any relations to this issue.
#### Additional reports
- https://github.com/arduino/arduino-ide/issues/1710
- https://github.com/arduino/arduino-ide/issues/1817
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/1
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/19
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/30
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/1
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/6
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/8
- https://forum.arduino.cc/t/coping-multiple-lines-on-monitor-screen/1019346
- https://forum.arduino.cc/t/copy-paste-serial-monitor-not-possible-options/1058964
- https://forum.arduino.cc/t/why-does-click-into-serial-monitor-ctrl-a-mark-the-source-code/1128016
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:
Klausj
August 25, 2023, 3:25pm
3
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:
opened 11:30PM - 05 Feb 22 UTC
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
Let's say I have 1000 lines of debug output in the ser… ial monitor window, how do I do a select all, such that I can copy it to the
clipboard?
With 1.8.19, I click the mouse into the monitor window and hit <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> and it selects all of the text. I can then hit <kbd>**Ctrl**</kbd>+<kbd>**C**</kbd>
to copy to clipboard.
### To reproduce
Run a sketch and try to select all of the text from Serial Monitor.
🐛 The contents of the sketch editor are selected when you press <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd>:

### Expected behavior
I expected hitting <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> would select everything in that window not the source window.
### Arduino IDE version
#### Original report
Nightly build
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
Not provided
### Additional context
And/Or alternative solution - context menu like for example TyCommander

---
Additional reports
- https://github.com/arduino/arduino-ide/issues/899
- https://github.com/arduino/arduino-ide/issues/1817
- https://github.com/arduino/arduino-ide/issues/1654
- https://github.com/arduino/arduino-ide/issues/1918
- https://github.com/arduino/arduino-ide/issues/2328
- https://github.com/arduino/arduino-ide/issues/2431
- https://github.com/arduino/arduino-ide/issues/2520
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/1
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/5
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/1
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/4
- https://forum.arduino.cc/t/using-v-2-0-serial-monitor-print/1034093
- https://forum.arduino.cc/t/serial-monitor-issues-hopefully-fixed-before-release/1026548
- https://forum.arduino.cc/t/serial-output-window-select-all-copy/1024251
- https://forum.arduino.cc/t/coping-multiple-lines-on-monitor-screen/1019346
- https://forum.arduino.cc/t/text-selection-serial-monitor/1005262
- https://forum.arduino.cc/t/upgrade-the-serial-monitor-for-better-function/980128
- https://forum.arduino.cc/t/ide-2-0-copy-from-serial-monitor-limited/1078391
- https://forum.arduino.cc/t/random-seed-does-not-deliver-random-numbers/1006762/10
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/3
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/5
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/19
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/21
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/23
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/32
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/38
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/39
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/45
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/46
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/48
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/60
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/61
- https://forum.arduino.cc/t/arduino-ide-2-0-3-serial-monitor-cant-use-cntrl-a-to-capture-everything/1095266
- https://forum.arduino.cc/t/arduino-ide-serial-monitor-bug/1112653/7
- https://forum.arduino.cc/t/why-does-click-into-serial-monitor-ctrl-a-mark-the-source-code/1128016
- https://forum.arduino.cc/t/cannot-select-all-of-serial-data/1158236
- https://forum.arduino.cc/t/how-can-i-copy-the-whole-content-of-the-serial-monitor/1168904/1
- https://forum.arduino.cc/t/your-reason-for-not-switching-to-the-2-x-ide/1176322/47
- https://forum.arduino.cc/t/code-in-the-arduino-is-fine-but-the-display-show-nothing/1204977/33
- https://forum.arduino.cc/t/ide-2-addition-suggestions-open-source-participation/1204792
- https://forum.arduino.cc/t/save-serial-data/1253788
- https://forum.arduino.cc/t/bug-report-serial-monitor/1297087
- https://forum.arduino.cc/t/ide-2-3-2-serial-monitor-ctrl-a-still-marking-only-the-source-code/1310325
#### Related
- https://github.com/arduino/arduino-ide/issues/1081
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
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.
Klausj
August 26, 2023, 5:55am
5
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
system
Closed
February 22, 2024, 6:45pm
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.