Bug: Move is allowed when dragging items in the root directory of a drive even though the path has not been changed
Description
If you are in the root directory of a drive and drag a file that exists in the root directory, files displays "move to" as an action and tries to move the file even though the path has not changed.
This does not happen when you are in a subfolder.
Steps To Reproduce
- open the root directory of a drive
- drag a file that exists in the root drive to an empty area
- see the "move to action" above the file
- release left mouse button
- see in the status center (ongoing tasks) that the file was moved to the same location
Steps to fix
move action should not be displayed and file should not be moved
Files Version
Version: 2.3.48.0 OS Version: 10.0.25217.1010
Windows Version
Windows 11 22H2 (OS Build 25217.1010)
Relevant Assets/Logs
https://user-images.githubusercontent.com/56681014/196031712-c07d5a00-169e-46cc-aafa-b48dbd62bf1d.mp4
Merging with #10039
Hi @yaira2 the issue still occurs for me in version 3.3 Could you please reopen the issue?
Drive root: Files tries to move the file although the path has not changed
Every other directory that is not a drive root: Files correctly shows the icon for the "None" action and does not move the file