arduino / arduino/Arduino

Window 10 Monitor Copy fails (empty clipboard) when first char included in the selection

Open
#11,810 1 comment 0 reactions 0 assignees View on GitHub
Component: IDE Serial monitor Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Tested using Arduino IDE 1.8.19 on Windows 10.
with this sketch
```
// Uno test for monitor copy/paste on Windows10
void setup() {
Serial.begin(9600);
Serial.println("Line 1");
Serial.println("Line 2");
}
void loop() {
}
```
With AutoScroll OFF or ON
Ctrl+A (shows both lines highlighted) followed by Ctrl+C and then Ctrl+V into notepad => no text

With AutoScroll OFF or ON
Click and drag over both lines (showing both lines highlighted)
followed by Ctrl+C and then Ctrl+V into notepad => no text

With AutoScroll OFF or ON
Click and drag over both lines **_BUT NOT the first char of the first line_**
followed by Ctrl+C and then Ctrl+V into notepad =>
```
ine 1
Line 2

```

Contributor guide

Open the contributing guide

Research direction

Reproduce the selection and copy/paste steps in Arduino IDE 1.8.19 on Windows 10 using the sketch and serial monitor described in the issue. Trace the serial monitor's text-selection and clipboard handling, then verify that Ctrl+A and mouse selections containing the first character paste the complete selected text into Notepad.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.