Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: Unable to drag and drop files from desktop to Files app

Open Zilla0617 opened this issue 3 years ago • 17 comments

Description

Unable to move files from computer to Files app. For example, a word file on the desktop; when attempting to drag the file into Files app it will not work

Steps To Reproduce

No response

Expected behavior

I expect the file to move to the desired location

Files Version

v2.0.13

Windows Version

Windows 10 Professional (x64) Build 19043.1266 (21H1)

Relevant Assets

No response

Zilla0617 avatar Oct 05 '21 14:10 Zilla0617

I have the same issue on Windows 11. Can't drag and drop any kind of file from outside the Files app into it.

RodrigoBG13 avatar Nov 01 '21 23:11 RodrigoBG13

Is this still an issue in the preview build? https://files.community/download/preview

yaira2 avatar Oct 13 '22 16:10 yaira2

Yes its still an issue with the preview. Just tried it and it didn’t work

From: Yair @.> Sent: Thursday, October 13, 2022 12:49 PM To: @.> Cc: @.>; @.> Subject: Re: [files-community/Files] Unable to drag and drop files from computer to Files app (#6309)

Is this still an issue in the preview build? https://files.community/download/preview

— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/6309#issuecomment-1277905192, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ6L2APFAK447GDODKM77WDWDA4RVANCNFSM5FL4LYEQ. You are receiving this because you authored the thread.Message ID: @.***>

Zilla0617 avatar Oct 19 '22 00:10 Zilla0617

Can you share a screen recording so I can make sure I'm using the same steps on my end?

yaira2 avatar Oct 19 '22 00:10 yaira2

https://user-images.githubusercontent.com/71089409/196580936-a131e083-b7cc-47d5-9186-99e4a6944697.mp4

Zilla0617 avatar Oct 19 '22 02:10 Zilla0617

@Zilla0617 it looks like you're still using the stable version in the screen recording, can you try with preview build?

yaira2 avatar Oct 19 '22 02:10 yaira2

https://user-images.githubusercontent.com/71089409/196583212-432d878e-ad7b-4777-9d88-9c89b8814e14.mp4

Same result with preview version

Zilla0617 avatar Oct 19 '22 02:10 Zilla0617

Thank you for the recordings, I can confirm that I've tried these steps and cannot reproduce the issue. I think we need to continue trying to reproduce this on our end before we can work on a fix.

yaira2 avatar Oct 19 '22 03:10 yaira2

Windows 11 21H2 here (Files 2.4.8.0): It doesn't let me drag items to the main file list, only to the pinned folders on the sidebar.

hecksmosis avatar Dec 30 '22 20:12 hecksmosis

Can you try again in the latest preview? We made some changes that we think will help.

yaira2 avatar Mar 19 '23 20:03 yaira2

Ok, I’ll try. Where can I download the latest preview?

From: @.> Sent: Sunday, March 19, 2023 4:44 PM To: @.> Cc: @.>; @.> Subject: Re: [files-community/Files] Bug: Unable to drag and drop files from desktop to Files app (#6309)

Can you try again in the latest preview? We made some changes that we think will help.

— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/6309#issuecomment-1475391773, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ6L2AJMEPLAUQ6YPPB77PDW45V35ANCNFSM5FL4LYEQ. You are receiving this because you were mentioned.Message ID: @.***>

Zilla0617 avatar Mar 19 '23 20:03 Zilla0617

https://files.community/download

Josh65-2201 avatar Mar 19 '23 20:03 Josh65-2201

It still doesn’t in the latest preview version, 2.4.54.0. Is there some setting I’m missing when it comes to turning on this feature, it never works for me.

From: @.> Sent: Sunday, March 19, 2023 4:49 PM To: @.> Cc: @.>; @.> Subject: Re: [files-community/Files] Bug: Unable to drag and drop files from desktop to Files app (#6309)

https://files.community/download

— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/6309#issuecomment-1475392712, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ6L2APW3CGO6H7VPEKGU4LW45WL5ANCNFSM5FL4LYEQ. You are receiving this because you were mentioned.Message ID: @.***>

Zilla0617 avatar Mar 19 '23 20:03 Zilla0617

i am here for the same problem i come form my own post #12136

ZCRP avatar Apr 30 '23 15:04 ZCRP

I can see this issue resolved in the latest version of Windows 11(V-22H2)

nitesh31mishra avatar May 18 '23 20:05 nitesh31mishra

Unfortunately, I’m not on Windows 11. With latest version from the Microsoft Store on Windows 10 (.2965) I still encounter the same issue.

From: Nitesh @.> Sent: Thursday, May 18, 2023 4:50 PM To: @.>(.2965) Cc: @.>; @.> Subject: Re: [files-community/Files] Bug: Unable to drag and drop files from desktop to Files app (#6309)

I can see this issue resolved in the latest version of Windows 11(V-22H2)

— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/6309#issuecomment-1553627128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ6L2AJAHVRAQ3AABQ6MIGTXG2DRXANCNFSM5FL4LYEQ. You are receiving this because you were mentioned.Message ID: @.***>

Zilla0617 avatar May 18 '23 23:05 Zilla0617

Moving from the desktop to the Files application currently works on my stable version (v2.5.1.0) but the reverse does not work for me (moving the Files application to the desktop).

https://github.com/files-community/Files/assets/128183422/e03dbe8b-8686-46b6-b6d3-ae9cc2f944ec

Lukiluc29 avatar Jun 23 '23 10:06 Lukiluc29

@Zilla0617 could you upload debug.log of the failed drag and drop?

hishitetsu avatar Jul 08 '23 00:07 hishitetsu

The drag and drop process works both ways on 2.5.21.0 Preview for me.

I'm on a W10-10.0.19045.3208 in non-admin process.

QuaintMako avatar Aug 06 '23 11:08 QuaintMako

For me too, but the only issue is that when we move an item from Files to the desktop, it displays a context menu, and then we have to click on "Move here".

Lukiluc29 avatar Aug 06 '23 11:08 Lukiluc29

I can't reproduce it either. However, it seems that some users actually fail to drag and drop.

hishitetsu avatar Aug 06 '23 12:08 hishitetsu

I can't reproduce it either. However, it seems that some users actually fail to drag and drop.

You should ask on Discord if some users are unable to drag and drop.

Lukiluc29 avatar Aug 06 '23 12:08 Lukiluc29

Has this issue been resolved? I recently purchased the app in the Microsoft App Store in Windows 11. For whatever reason, I can't drag and drop any kind of file from outside the Files app into it nor can I drag and drop a file between folders in the Files app. Any suggestions?

idelarca avatar Dec 08 '23 14:12 idelarca

No as it would be closed. This is only an issue with the desktop to Files though. It sounds like you are running Files as admin. You have to enable UAC (User access control) in Windows and don't use the run as admin option.

Josh65-2201 avatar Dec 08 '23 14:12 Josh65-2201

Okay. Thanks.

idelarca avatar Dec 08 '23 14:12 idelarca

When dragging a file from File Explorer to Files, Files sets the AcceptedOperation when the file is on the same drive to DataPackageOperation.Move. Mentioned previously, and I've confirmed, that move operation does not succeed.

However, when dragging a file from File Explorer file to Files, Files sets the AcceptedOperation to DataPackageOperation.Copy when the file is on a different drive. In my testing, that copy operation does succeed.

For some reason it seems that when dragging a file from File Explorer and the AcceptedOperation has been set to DataPackageOperation.Move, the drop event never fires.

willibrandon avatar Jan 13 '24 23:01 willibrandon

I could submit a PR to help facilitate the discussion.

willibrandon avatar Jan 13 '24 23:01 willibrandon

Fyi @hishitetsu @gave92

yaira2 avatar Jan 14 '24 00:01 yaira2

After more testing, my original analysis was off.

I'm unable to drag and drop from Explorer only when dragging a file from the Windows recent files and/or favorites list. This is on a Windows 11 machine. When I drag and drop from a normal folder, the move operation works as expected.

I believe my issue is unrelated to this issue.

willibrandon avatar Jan 14 '24 00:01 willibrandon

Closing #14454 since I no longer believe that would be an appropriate solution.

willibrandon avatar Jan 14 '24 00:01 willibrandon