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

Copy / Paste keyboard shortcuts no longer work to copy / paste files in Explorer window #74

Closed
vinsworldcom opened this issue Jan 12, 2024 · 3 comments

Comments

@vinsworldcom
Copy link

Describe the bug
As of Notepad++ 8.6 through 8.6.2 RC-1, Notepad++ has played some shenanigans with CTRL-C and CTRL-V keyboard shortcuts. As a result, the keyboard copy / paste shortcuts CTRL-C and CTRL-V to copy and paste a file in the Explorer dialog that worked in Notepad++ 8.5.8 no longer work.

The fix is pretty easy:

// ::SendMessage(msgDestParent ? _hParent : (::GetParent(_hParent)), NPPM_MODELESSDIALOG, MODELESSDIALOGADD, reinterpret_cast<WPARAM>(_hSelf));

simply uncomment the above line. I tested uncommenting this line, compiling and it resolves the issue. Not sure why it was commented in the first place?

To Reproduce
Steps to reproduce the behavior:

  1. View any directory in Explorer plugin that has file.
  2. highlight the file, press CTRL-C then CTRL-V
  3. nothing happens.

Do the same in 8.5.8 and see:

image

Expected behavior
The expected behavior is as what is seen in Notepad++ 8.5.8 shown in screenshot above.

Debug Info
Notepad++ 8.6.2 RC-1, Explorer 1.8.2.30

@funap
Copy link
Owner

funap commented Jan 12, 2024

@vinsworldcom
This comment was made during Issue #59.
I will consider measures that can fix #59 and #74.
Thank you very much information!

@vinsworldcom
Copy link
Author

Ha - it was me! Here is some more information on why it should be uncommented: https://community.notepad-plus-plus.org/post/91951

Cheers.

@funap
Copy link
Owner

funap commented Jan 18, 2024

This issue has been fixed in version 1.8.2.31

@funap funap closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants