List View Drag and Drop: Only drop into subfolders when the mouse targets the subfolder icon
(tested with Thunar 4.16.10 on a live session of Mint 21.0 Xfce as well as Thunar 4.16.11 on a live session of Manjaro 21.3.6 Xfce)
Currently, if you're viewing a directory with a lot of folders in "List view", it can quite difficult to do a simple drag-and-drop of a file or folder into the currently-open directory, particularly if the current directory has a very short file name or if the location selector is set to "Pathbar Style".
I have edited two screenshots visually to more easily explain the issue:
When dragging a file, releasing your mouse button into the red-colored areas straight-up just cancels the operation while releasing your mouse button in the yellow-colored areas performs a different operation than the one we're trying to do (it will pin the dragged item onto the side pane and/or drop it into the folder you dragged it on top of rather than into the current directory).
Only the blue-colored and green-colored areas actually work for dragging-and-dropping the file into the current directory but, with specifically the blue-colored areas, dragging into this area causes Thunar to scroll its view up until it either reaches the top or you let go of your mouse button. Similarly, as alluded to above, the green-colored area can itself be a bit troublesome when dealing with really small folder names, possibly most common with single-digit numbers (e.g. 1
, 2
, etc), not to mention that the breadcrumbs are not even visible if you have the location selector set to "Pathbar Style".
The purple-colored areas currently do nothing but, as I describe in #866, I personally think they should at least scroll the breadcrumbs toolbar if you hover your cursor over them while in the middle of a drag operation like it does in Caja and Nemo, if not also allow placing a dragged file into the current directory if there are no directories listed to the left or right of the current directory on the breadcrumbs toolbar.
So with all of that being said, my suggestion is simple - when dragging a file or folder into Thunar, if you release your mouse button in any of the red-colored areas, the file or folder should be placed into the current directory.