Skip to content

[Regression] Drag&drop a folder in Notepad++ launch "File to load size-check failed" dialog #15869

@xomx

Description

@xomx

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

This is a v8.7.2 regression caused by the commit c021c86

Reported at https://community.notepad-plus-plus.org/post/98250

Steps To Reproduce

Try to drag&drop a folder with files on the N++ app icon or launch the N++ via a cmdline notepad++.exe FolderWithFilesToOpen or try to use globbing at the N++ launch.

Current Behavior

Pointless message, then the N++ opens that files in dir ok, etc.

Expected Behavior

No such message, only returning BUFFER_INVALID in FileManager::loadFile immediately (it also speeds up the loading stage a bit).

Debug Information

N++ v8.7.2

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions