We recently upgraded from JUCE 7.0.5 to JUCE 7.0.6 on Windows.
After the upgrade, several users complained that pasting into TextEditors no longer works correctly when using Ctrl-V. Everything is pasted twice. The problem does not affect all DAWs for some reason. But for example in FL Studio we see the problem. (Studio One is fine though, for example).
Interestingly pasting from the right-click context menu is fine. Only Ctrl-V is causing problems in the TextEditor.
How to reproduce:
Build attached example project as VST3, open latest FL Studio on Windows 10, load the “PasteTest” instrument plugin and try to paste anything into the text editor. You’ll see that it is pasted twice.
We are currently on JUCE 7.0.6, but the problem still exists in JUCE 7.0.7
In JUCE 7.0.5 this problem did not occur. So something must have changed from JUCE 7.0.5 to JUCE 7.0.6.
Here is the “PasteTest” test project:
PasteTest.zip (21.2 KB)