diff --git a/Files/BaseLayout.cs b/Files/BaseLayout.cs index ae0e6b5db62e..ae52ebfd8adb 100644 --- a/Files/BaseLayout.cs +++ b/Files/BaseLayout.cs @@ -821,6 +821,11 @@ protected async void FileList_DragItemsStarting(object sender, DragItemsStarting return; } + var onlyStandard = selectedStorageItems.All(x => x is StorageFile || x is StorageFolder || x is SystemStorageFile || x is SystemStorageFolder); + if (onlyStandard) + { + selectedStorageItems = await selectedStorageItems.ToStandardStorageItemsAsync(); + } if (selectedStorageItems.Count == 1) { if (selectedStorageItems[0] is IStorageFile file) diff --git a/Files/Filesystem/StorageFileHelpers/StorageFileExtensions.cs b/Files/Filesystem/StorageFileHelpers/StorageFileExtensions.cs index 097efe63bad4..f42b38d167a5 100644 --- a/Files/Filesystem/StorageFileHelpers/StorageFileExtensions.cs +++ b/Files/Filesystem/StorageFileHelpers/StorageFileExtensions.cs @@ -369,7 +369,7 @@ public static async Task> ToStandardStorageItemsAsync(this IE } catch (NotSupportedException) { - // Ignore items that can0t be converted + // Ignore items that can't be converted } } return newItems;