molsonkiko / JsonToolsNppPlugin

A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Apache License 2.0
93 stars 10 forks source link

in Npp 8.6.1, Ctrl+V doesn't work to paste text into text fields #54

Closed molsonkiko closed 9 months ago

molsonkiko commented 10 months ago

But you can still right-click and select Paste from the dropdown menu to paste text.

This also applies to Ctrl+X and Ctrl+V.

Tested on Notepad++ 8.6.1 32bit and 64bit.

As I noted in this community forum post, this issue seems to affect all text fields in all Windows Forms using the C# plugin template, but not forms in C++ plugins.

Debug info:

EDIT: see below posts for clarification

molsonkiko commented 10 months ago

This is partially fixed by the most recent commit, although currently in Npp 8.6.1, Ctrl+V pastes text on keyup, rather than keydown as is normal.

I reverted that change in a subsequent commit, because there is no point in trying to correct for this issue, and as noted below, the underlying issue was subsequently fixed by Don Ho in Notepad++ 8.6.2.

molsonkiko commented 10 months ago

Note that this issue will be fixed in Notepad++ 8.6.2, so you should install 8.6.2 or higher to avoid this issue.

molsonkiko commented 9 months ago

Fixed by v7