notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[BUG] Copy-paste sequences don't work right in all releases after 8.5.8
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
Copy-paste sequence Ctrl+Insert -> Shift+Insert has stop working in all releases after 8.5.8. Its alternative Ctrl+C -> Ctrl+V works right but is less handy in some cases.
It seems that exactly Ctrl+Insert shortcut fails in this sequence as Shift+Insert works fine when there is some data in a clipboard buffer. Moreover sequence Shift+Delete -> Shift+Insert works in all new releases after 8.5.8.
As @alankilborn noted below npp portable version is not affected by this issue.
Steps To Reproduce
- Use Notepad++ version 8.6 - v8.6.7 (windows x64 or x86 installer version).
- Open text document and select line of text (I use Ctrl+arrow).
- Try to copy selected text via Ctrl+Insert shortcut.
- Try to paste selected text in another place via Shift+Insert shortcut.
Current Behavior
On step 4 Shift+Insert shortcut pastes nothing or some old data copied in clipboard buffer before.
Expected Behavior
Shift+Insert shortcut should paste exactly the text copied on step 3.
Debug Information
Notepad++ v8.5.8 (64-bit)
Build time : Oct 15 2023 - 21:43:56
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.4412
Current ANSI codepage : 1251
Plugins :
DSpellCheck (1.4.24)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
NPPJSONViewer (1.40)
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Ctrl+Insert → Shift+Insert sequence in the listed installer releases and compare it with the unaffected portable version. Trace how the application handles Ctrl+Insert and clipboard updates; done means the selected text is pasted, rather than old or empty clipboard data, with Shift+Insert.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100