Created attachment 168206 [details] screen recording of the problem SUMMARY When trying to drag-and-drop (d&d) a file onto the Trash, an arrow quickly flashes on the top-left. If the drop-location is not exact, it just moves the file. If that arrow means "You're trashing the file, not moving it near the Trash", then the feedback should be more obvious (e.g., on XFCE, the whole Trash icon gets illuminated) and stable. Even when trashing succeeds, the d&d animation is wrong (the file goes back to where it was, as if d&d was failed), so I cannot instantly know if d&d failed or not; I have to wait and see if the file icon disappears after it returned to the original position. STEPS TO REPRODUCE 1. Create a desktop entry for Trash by using [Desktop Entry] to URL=trash:/. 2. Try d&d a file. 3. OBSERVED RESULT As described in summary. EXPECTED RESULT Should work like the Trash of Windows or XFCE. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Arch (available in About System) KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 ADDITIONAL INFORMATION Please see the attached screen recording
Can reproduce on master, but it does not just apply to the Trash (created as .desktop file). It also happens for regular folders. The problem seems to be that the drop area seems to be rather small; the cursor has to be exactly on the icon or label for the drop to be correctly registered. The problem is mad much worse by the automatic highlighting for things on the desktop; it activates also while the cursor is hovering in the area around the cursor and really looks like it's accepting a drop when it isn't. FWIW, this does not apply to the Trashcan widget. The highlight there is much more subtle, but if it activates the file can be dropped (and its hit area is a bit more forgiving). > If that arrow means "You're trashing the file, not moving it near the Trash", then the feedback should be more obvious No, the arrow also appears if you're just hovering on the Trash (or folder) icon without dragging something. If you click the arrow, you'll get a small folder view popup that shows the contents of the folder or trash so you can open them (or drag them out of there, etc.) without having to open a full Dolphin window. There doesn't seem to be a way to activate the arrow while dragging, so maybe it would be better if it only showed on non-drag hovering.