Commit 63593e1
authored
[wrap-text] Fix clipboard race condition after paste (#26760)
* [wrap-text] Fix clipboard race condition after paste
Add 200ms delay between Clipboard.paste() and restoring previous
clipboard content. Without the delay, the clipboard is restored before
the target app processes the Cmd+V keystroke, causing wrong content
to be pasted. Regression from #25993.
Fixes #26579
* [wrap-text] Add changelog entry for clipboard race fix1 parent 2ebe473 commit 63593e1
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | | - | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments