GNOME Bugzilla – Bug 558942
Dragging whitespace reveals secret contacts
Last modified: 2011-07-26 08:20:15 UTC
1. Make sure there is whitespace at the bottom of your contact list. 2. Select a contact in your list. 3. Confirm that dragging the contact does the correct thing of dragging that contact. 4. Drag anywhere in the whitespace. The same selected contact is dragged for some reason.
Can reproduce with 2.25.4
It seems that the contact dragged is the currently selected contact. If you start Empathy and immediately drag in whitespace (aka not select a contact first), the icon being dragged is not a contact.
Created attachment 192274 [details] [review] patch This patch resolves the problem of the g_critical and the contact that appears even though no contact is selected. I'm not sure why you can drag out of white-space itself, I wonder if EmpathyIndividualView is doing something to break the drag-and-drop built into GtkTreeView (likely?). Need to dig into it more.
Patch looks good. Please do the same in EmpathyContactListView. Yes we have too much code duplicated...
Updated.
I don't know where is your git branch, but I trust you updated. You can merge ;)
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.