Skip to content

Find-result right-click-Copy does not copy complete result data #8801

@sasumner

Description

@sasumner

Description of the Issue

When partially selecting a group of collapsed results from the Find-result window, the right-click-Copy operation does not contain the data from the final file in the group.

Steps to Reproduce the Issue

  1. Create 4 new file tabs, new 1 through new 4 in a freshly unzipped portable version of N++
  2. Insert the appropriate version of this text into each: I'm from new _, filling in the _
  3. Do a Find All in All Opened Documents as shown here:
    image
  4. Observe results of the FAIAOD:
    image
  5. Partially select all of the results with the mouse, possible example:
    image
  6. Right-click on the selected text and choose Copy from the menu that appears.
  7. Create a new N++ tab (new 5) and paste there; observe the correct result:
    image
  8. Collapse the search results so they appear like this:
    image
  9. Partially select all of the collapsed results with the mouse, then right-click on the selected text and choose Copy from the menu that appears, like this:
    image
  10. Create a new N++ tab (new 6) and paste there; observe the INCORRECT result:
    image

Expected Behavior

I expected the same textual result in tab new 5 in step 7 as in tab new 6 in step 10. All four lines should be copied.

Actual Behavior

The line of data from the new 4 search result is not copied and is lost in steps 9-10. Only 3 lines are copied.

Debug Information

Notepad++ v7.8.9 (32-bit)
Build time : Jul 15 2020 - 20:26:50
Path : C:\...............\npp.7.8.9.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1339
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll

Metadata

Metadata

Assignees

Labels

bugverifiedIssues verified to be valid and reproducible, PRs that have been tested thoroughly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions