Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag N Dropping a file onto a disk that is not mounted makes the file disappear #2390

Open
JakoDel opened this issue Jan 24, 2024 · 1 comment · May be fixed by #2391
Open

Drag N Dropping a file onto a disk that is not mounted makes the file disappear #2390

JakoDel opened this issue Jan 24, 2024 · 1 comment · May be fixed by #2391
Labels
Status: Confirmed The occurrence and circumstances of the issue have been verified

Comments

@JakoDel
Copy link
Sponsor

JakoDel commented Jan 24, 2024

What Happened?

Well, it's rather simple to reproduce. the only thing that will happen is that the file will disappear from it's original location without being copied over to the destination. I ran `grep -Rnw' to search for it but it's gone

Steps to Reproduce

1.get a usb or whatever
2. try to drag and drop a file into it when it's still not mounted (eg. there's no "used space" bar under the name of the usb on the sidemenu)

Expected Behavior

I would expect it to either make the operation fail completely, or (what most FMs do nowadays I think) mount the target disk automatically and then copying the file over

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

don't have any, I might be able to send them tomorrow

Hardware Info

I don't think this has much influence over the files app but..
it's a laptop with an i5-13500H, running the latest i915 drivers shipped by default I guess.

@JakoDel JakoDel changed the title Drag N Dropping file on a disk that is not mounted makes the file disappear Drag N Dropping a file on a disk that is not mounted makes the file disappear Jan 24, 2024
@jeremypw jeremypw changed the title Drag N Dropping a file on a disk that is not mounted makes the file disappear Drag N Dropping a file onto a disk that is not mounted makes the file disappear Jan 24, 2024
@jeremypw jeremypw added the Status: Confirmed The occurrence and circumstances of the issue have been verified label Jan 24, 2024
@jeremypw
Copy link
Collaborator

That surprising - the operation does indeed "succeed" as far as the DnD operation is concerned even though the file operation fails.

@jeremypw jeremypw linked a pull request Jan 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed The occurrence and circumstances of the issue have been verified
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants