problem:
I used to be able to copy some or all of the Serial Monitor contents and paste them elsewhere (like opencalc). Now as I select and drag it automatically deselects portions that leave the screen. Looks like some kind of memory saving trick that breaks a useful interaction.
Is there a way to make this work?
test case:
generate 500 lines of text in serial monitor.
scroll to top, use mouse to select and drag downwards.
copy (ctrl+c) and paste to another window.
also try scrolling back up, everything becomes deselected.
occurs even if device is disconnected.
occurs regardless of autoscroll.
expected:
remember my selection until I click again. allow me to copy my intended selection.
platform:
I'm in 2.2.1 on Windows 11.
Hello aggrav8d
Use a terminal program like Cool Term to make a data logging simply.
Hi @aggrav8d .
You were probably using Arduino IDE 1.x when it was working for you. The Arduino IDE developers are tracking this bug in the Arduino IDE 2.x Serial Monitor 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://github.com/arduino/arduino-ide/issues/2262
- 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/copy-paste-data-from-the-serial-monitor/1041585/34
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/35
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/37
- 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
- https://forum.arduino.cc/t/text-selection-broken-in-ide-serial-monitor-2-1-1/1160156
- https://forum.arduino.cc/t/how-can-i-copy-the-whole-content-of-the-serial-monitor/1168904/2
- https://forum.arduino.cc/t/how-to-copy-entire-serial-monitor-output/1175060
- https://forum.arduino.cc/t/your-reason-for-not-switching-to-the-2-x-ide/1176322/47
- https://forum.arduino.cc/t/copy-paste-from-serial-monitor/1179986
- https://forum.arduino.cc/t/exception-decoder/1055759/9
### 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
And a related deficiency 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 s… erial 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>:
![image](https://user-images.githubusercontent.com/1558080/152662108-23aa8254-be0d-4026-aa65-d57120a7447c.png)
### 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
![image](https://user-images.githubusercontent.com/1558080/152662265-638a9dd7-afdb-4a37-b19c-31d179ad41e4.png)
---
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://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/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
#### 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
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:
Until then, the workaround of using an external serial terminal as suggested by paulpaulson will be your best option.
system
Closed
April 2, 2024, 6:22am
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.