-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Implemented drop to sidebar items #1571
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
Conversation
@xpoppyx @yaichenbaum reveal effect is now implemented: |
Why there is different actions for some folders? |
I have implemented different actions based on Windows Explorer. In Windows Explorer, if the item you are dragging is in the same drive as the destination folder the operation will be to move the item otherwise the item will be copied. |
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't move or copy file. App crashing when drop file on side bar item.
2020-07-29 15:31:44.3932|ERROR|Files.App|Object reference not set to an instance of an object.|System.NullReferenceException: Object reference not set to an instance of an object.
at Files.Interacts.Interaction.PasteItems(DataPackageView packageView, String destinationPath, DataPackageOperation acceptedOperation)
at Files.Controls.SidebarControl.NavigationViewLocationItem_Drop(Object sender, DragEventArgs e)
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
Can you share more detail on what you were trying to copy and to what path?? |
@tsvietOK Does the error happen to you always?? I can't seem to reproduce it. Also the exception seems to be related to |
I don't think it is a good idea to cancel user action (copy or move) if item already exists in folder. |
What do you think should be the default behaviour?? Currently if the item is already present in the folder, when dragging over the same folder the glyph would prompt the user it cannot be dropped. This is the implemented behaviour in every drag-drop scenario app wide. |
Oh, sorry, I misunderstood you. All ok. |
What about the exception?? Are you still getting it?? |
It is strange, but now i can't reproduce this issue anymore. |
I think it is related to |
Fixes #1049.