-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Do not accept drop if location is unmounted #2391
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you resolve conflicts? It looks like maybe this function moved in another commit
# Conflicts fixed in: # libcore/FileUtils.vala
Conflict fixed |
@jeremypw ah this is a +/-0 diff now 😅 That doesn't seem right |
Looks like |
Noticed a related issue - the volume bookmarks only have a valid target file if they are already mounted when Files window is opened. In |
@danirabbit This is now ready for review hopefully. |
Required changes made new review requested
Converting to draft to investigate bug where a (copy) file is created in the current working folder when Files is being run in a terminal and the file is dropped onto an unmounted volume. |
For now, I have not implemented auto-mounting of unmounted volumes when dropped on. This could be implemented in a further PR if thought desirable. |
I am no longer sure how to reproduce this bug so a shorter PR has been proposed omitting the related commit. |
Fixes #2390
Fixes #2465
file_accepts_drop ()
returns false if location unmounted (fixes first issue)