[PR #14648] Fix missing paths when items dropped from archive #30185

Open
opened 2026-01-31 09:39:11 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/14648

State: closed
Merged: Yes


Grab all paths from DROPFILES struct provided in drag event data

GetStorageItemsAsync() only giving up to 16 items when items are dropped from any archives

  • When this occurs, we should look into FileDrop key for a stream of the DROPFILES struct
  • This struct contains a null-character delimited string of paths which we can just read out

Validation Steps Performed

  • Unit tests pass locally
  • Drag and drop paths work for both archives and non-archives files, folders, shortcuts, etc.

Closes #14628

**Original Pull Request:** https://github.com/microsoft/terminal/pull/14648 **State:** closed **Merged:** Yes --- Grab all paths from `DROPFILES` struct provided in drag event data `GetStorageItemsAsync()` only giving up to 16 items when items are dropped from any archives - When this occurs, we should look into `FileDrop` key for a stream of the [`DROPFILES struct`](https://learn.microsoft.com/en-us/windows/win32/shell/clipboard#cf_hdrop) - This struct contains a null-character delimited string of paths which we can just read out ## Validation Steps Performed * [X] Unit tests pass locally * [X] Drag and drop paths work for both archives and non-archives files, folders, shortcuts, etc. Closes #14628
claunia added the pull-request label 2026-01-31 09:39:11 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30185