arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.13k stars 7k forks source link

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

Open drmpf opened 2 years ago

drmpf commented 2 years ago

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
per1234 commented 1 year ago

Thanks for your report @drmpf.

I just tested Arduino IDE 1.8.19 on my Windows 11 and Ubuntu 22.04 machines and was not able to reproduce the fault. So it seems it is specific to some conditions present on your machine but not mine (e.g., Windows 10 vs 11) rather than affecting all users universally.