Draging and dropping a folder to create a new tab should be named after that folder

Bug #1054592 reported by Chionsas
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
New
Wishlist
Unassigned

Bug Description

version: 3.3.0-dev
revision: 4291

Current behavior:
dragging a folder or a playlist from the left pane onto the "new tab" button creates a new tab with the appropriate contents.
That playlist tab is named "Playlist X" where X is lowest number that is not currently used (that is, the numbers get reused).

Desired behavior:
when clickd, the "New tab" button creates new tabs as it currently does, but if one drags and drops a folder or a playlist onto the tab, the tab that is created should be named after the dropped playlist/folder.
That is, if I have a folder named "Pink Floyd" and drag it onto the "new tab" button (it's really named "New Playlist" and is rightmost of the tabbar), the tab should be named "Pink Floyd". If there's already a tab named "Pink Floyd", a number can be appended.

There was a feature request previously https://bugs.launchpad.net/exaile/+bug/480338 that got implemented, but not fully.
The "New Playlist" button was created and accepts dropped targets, but does not handle naming as desired.
It should be quite an easy fix, I suppose :)

Revision history for this message
Chionsas (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1oh-launchpad) wrote :

It would also be cool to get a tab named appropriately when the playlist is empty, has a name of "Playlist #" and has it's contents replaced (by drag & dropping or by clicking 'Replace Current' from the right-click menu).

Changed in exaile:
milestone: none → 3.4.0
Revision history for this message
baizon (baizon) wrote :

Also by adding a additional menu entry (when right-clicking) "Add to new Tab" would be a good feature.

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

I looked for awhile at adding this feature, and while it's certainly doable, it's a pain to implement correctly. Pushing this off until a future release.

Changed in exaile:
milestone: 3.4.0 → 3.x
importance: Undecided → Wishlist
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.