Bug 310049

Summary: Sometimes when I try to copy/move/link a file to some folder or device in the Places Panel, Dolphin creates a new entry in Places for that file instead of ask me if I want to copy/move/link/cancel
Product: [Applications] dolphin Reporter: J.A. Moray <moray33>
Component: panels: placesAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Keywords: reproducible
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0

Description J.A. Moray 2012-11-13 19:35:39 UTC
Sometimes when I try to copy/move/link a file to some folder or device in the Places Panel, Dolphin creates a new entry in Places for that file instead of ask me if I want to copy/move/link/cancel.

I've been testing for a while and I don't found the reason of why this happens sometimes. I'be been trying dropping files continuosly in folders that I have in Places and happens, for example, 1 of 10 times. It's very strange.

Reproducible: Sometimes

Steps to Reproduce:
1. Drag and drop a file in a folder that is in the Places Panel, of a device in that Panel.
Actual Results:  
Dolphin creates a new entry in Places for that file. Sometimes.

Expected Results:  
Dolphin ask me if I want to copy, move or link (or cancel) that file into that folder.
Comment 1 Frank Reininghaus 2012-11-13 22:11:32 UTC
Thanks for the bug report! Probably this happens if you drop the file/folder *between* two items in the Places Panel. Can you confirm?
Comment 2 J.A. Moray 2012-11-13 22:25:21 UTC
I'm 100% sure it isn't because of that. When I drop the file, the "button" is always selected with the + symbol at its side.

And this never happened to me before (I'm using KDE 4.9.x and Dolphin 2.1 since just a few hours).
Comment 3 Frank Reininghaus 2012-11-13 22:28:20 UTC
Thanks for the quick reply.

(In reply to comment #2)
> I'm 100% sure it isn't because of that. When I drop the file, the "button"
> is always selected with the + symbol at its side.

The "+" symbol also appears when you hover the space between two items and drop something there.

(In reply to comment #0)
> Dolphin creates a new entry in Places for that file. Sometimes.

Is that entry created either above or below the one where you wanted to drop the file? That would be another hint that my theory might be right.
Comment 4 J.A. Moray 2012-11-13 22:40:44 UTC
Ok, I think I know when this happens.

It happens when I drop the file very near of one border (higher or lower) of the button, but insided of it, and it's shaded in blue, there's no strip between two buttons.
Comment 5 J.A. Moray 2012-11-13 22:44:30 UTC
*I meant inside.
Comment 6 Frank Reininghaus 2012-11-13 22:52:24 UTC
Right, I can confirm, it seems that something about my commit 43e89779739c9e95f939fba8f4e98f52d184a3ba that reimplemented dropping stuff on Places Panel items (which was broken after Peter's Places Panel rewrite) is not quite right yet :-(

The "very near to one border" hint was good.
Comment 7 J.A. Moray 2012-11-13 22:58:28 UTC
I'm glad I could help to find the problem. And I'm sure you won't have many problems to fix it. Dolphin is the best file manager ever.
Comment 8 Frank Reininghaus 2013-05-13 22:12:08 UTC
This has been fixed for Dolphin 2.3/KDE 4.11:

https://git.reviewboard.kde.org/r/110342/