Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
molsonkiko opened this issue Jan 6, 2024 · 3 comments
Closed
Labels
bug Something isn't working probably fixed? the issue/feature appears to be fixed/implemented, but there still may be issues

Comments

@molsonkiko
Copy link
Owner

molsonkiko commented Jan 6, 2024

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 added a commit that referenced this issue Jan 6, 2024
1. Fixed issue where Ctrl+V did not paste text into textboxes
    in Notepad++ 8.6.1
    (see #54)
2. Fixed issue where entering invalid text into comboboxes in the
    regex search form and grepper form
    could cause a (mostly harmless) plugin crash.
@molsonkiko
Copy link
Owner Author

molsonkiko commented Jan 6, 2024

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 molsonkiko added the bug Something isn't working label Jan 6, 2024
@molsonkiko
Copy link
Owner Author

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 molsonkiko added the probably fixed? the issue/feature appears to be fixed/implemented, but there still may be issues label Jan 14, 2024
@molsonkiko
Copy link
Owner Author

Fixed by v7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working probably fixed? the issue/feature appears to be fixed/implemented, but there still may be issues
Projects
None yet
Development

No branches or pull requests

1 participant