Drag and drop in roster

Bug #147803 reported by sander
2
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
Wishlist
Mats

Bug Description

Drag and drop support in the roster window would be really nice. This feature should work similar to KDE's drag and drop feature in Konqueror operating in file manager mode! (because Konqueror is extremely userfriendly on this)

Different scenarios:
* click on a contact and drag it to a group label:
   1. group label will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the group and the dropped contact
* click on a group and drag it to a group label:
   1. group label will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the group and the dropped group
* select multiple contacts and/or groups (using Shift/Ctrl + click etc) and drag this selection to a group label:
   1. group label will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the group and the dropped selection
* click on a contact and drag it to another contact:
   1. the other other contact will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the other contact and the dropped contact
* click on a group and drag it to a specific contact:
   1. specific contact will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the specific contact and the dropped group
* select multiple contacts and/or groups (using Shift/Ctrl + click etc) and drag this selection to a specific contact:
   1. specific contact will be highlighted
   2. when dropped, the related (*) context menu will appear
   3. selected option will be executed on the specific contact and the dropped selection

(*) The context menu that should appear should be very similar to the menu you get when dragging and dropping a file or directory in Konqueror. It should give the user these options: "Copy here" (will be available in 2 places), "Move here" (group will change), "Exchange Contact" or "Exchange Contacts" (see Bug 144876), and "Cancel". "Here" means either "this group" or "the group of this contact".

Related bugs that would be nice to look into at the same time:
* Bug 146697
* Bug 145204
* Bug 144876

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Wishlist
Revision history for this message
Mats (matsben) wrote :

The context menu I don't like at all. It should work in a simpler way, like the Mac desktop.
Furthermore, a roster is different than a file browser since there is no copy action.

Changed in coccinella:
status: New → In Progress
Revision history for this message
sander (s-devrieze) wrote : Re: [Bug 147803] Re: Drag and drop in roster

You really should try for some time how it works under KDE. IMO this
is the best way to do this. Both Windows and Mac OS X are less
userfriendly on this.

Revision history for this message
Mats (matsben) wrote :

-1
I prefer the simple interaction of Macs and Windows.
Furthermore, the roster is not a file browser so we have to expect differences.
BTW, was able to separate out most of the TreeCtrl DnD code as a
separate package.
Perhaps a patch to the TreeCtrl site. SOme behavoiur changed, more to come.

/Mats

On 10/6/07, sander <email address hidden> wrote:
> You really should try for some time how it works under KDE. IMO this
> is the best way to do this. Both Windows and Mac OS X are less
> userfriendly on this.
>
> --
> Drag and drop in roster
> https://bugs.launchpad.net/bugs/147803
> You received this bug notification because you are a bug assignee.
>

Revision history for this message
sander (s-devrieze) wrote :

ok, other addition: when you drag a roster item to a closed group, this group should open so that the user can reach the subgroups (will be useful when nested roster groups is supported ;-) ).

Revision history for this message
Mats (matsben) wrote :

I'd like to wait a while with this since it is a bit complicated (need
timers so the folders
open after a short time after entering).
It is better to let the code mature a bit so it gets more solid.

On 10/7/07, sander <email address hidden> wrote:
> ok, other addition: when you drag a roster item to a closed group, this
> group should open so that the user can reach the subgroups (will be
> useful when nested roster groups is supported ;-) ).
>
> --
> Drag and drop in roster
> https://bugs.launchpad.net/bugs/147803
> You received this bug notification because you are a bug assignee.
>

Revision history for this message
Mats (matsben) wrote :

There is now a simpler implementation which works similar to Mac and Windows desktops. Only JID's can be dragged, but both JIDs, folders and heads (available/unavailable) are drop targets. Only the Plain roster style use this ftm.

Changed in coccinella:
status: In Progress → Fix Committed
sander (s-devrieze)
Changed in coccinella:
milestone: none → 0.96.4
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.