Bug 312255 - After dragging tracks to playlist, playlist scrolls but no indication of where new tracks are
Summary: After dragging tracks to playlist, playlist scrolls but no indication of wher...
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.6.90 (2.7 beta)
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 09:01 UTC by robert marshall
Modified: 2012-12-27 22:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert marshall 2012-12-27 09:01:58 UTC
If you drag tracks from the collection to the playlist (while a track is playing) the playlist will scroll (to accommodate the new tracks?) but there's no visual clue as to where the new tracks are in the new state of the playlist. I find this a little disconcerting as the tracks aren't where the mouse dropped them. Can the selection be moved to the first of the added tracks?
(I have automatically scroll to current track de-selected)

Reproducible: Always
Comment 1 Myriam Schweingruber 2012-12-27 09:54:59 UTC
New tracks are always automatically added at the end of the current playlist.
What do you mean by "new state of the playlist"? Why do you need a visual clue? Could you specify a use case for that?
Comment 2 robert marshall 2012-12-27 10:33:29 UTC
I'm _dragging_ the new tracks into the playlist - not at the end - so I'm not using 'add to playlist'

Typically I'm getting an agp playlist which may contain a single movement of a larger musical work, in the playlist I'm selecting 'show in media sources' to show the rest of the album and dragging the remaining movements (not necessarily the whole album) into the correct relative position to the one that's there automatically. But because it scrolls & no indication of where the new tracks are it takes a few moments to re-orientate myself - I may have dropped the tracks in the wrong place - I find it easy to be 1 track out - or I may not have finished the process with a track to be added the other side of the original one.
Comment 3 Myriam Schweingruber 2012-12-27 12:05:33 UTC
Do you have any filters active or a dynamic playlist running? I can drag and drop tracks where I want them to be, using current git version, compiled yesterday.
Comment 4 robert marshall 2012-12-27 14:47:44 UTC
Neither of those. 

The way I can replicate it is if you have a playlist which won't fit in the window (so scrollbars are active), then while the first track in the playlist is playing, drag an album into the playlist around 2/3s of the way down the playlist window, the window being large enough to see the new album and a bit more after dropping. The album dropped contained tracks on more than one disk (mine had 2 tracks on each disk) - I think the multidisk nature of what I'm adding is what brings about the problem.

After dropping the album the scrolling posn has changed so that the mouse is now (in my example) 3 tracks lower than it was (relatively), so (eg) if album A is inserted before album B, after insertion the mouse is over album B track 3, I'd expect it to be either (where the drop took place)  just above album B or somewhere in album A. If album B were actually tracks from 3 different albums that's quite a way for your eye to move up to relocate yourself.

I'm using the default playlist layout. I had to play around a bit to get something which reliably replicated the problem, would a screenshot help?
Comment 5 Myriam Schweingruber 2012-12-27 15:24:19 UTC
How ab out modifying the playlist layout? At least it would group albums and you could see the organisation better? I use a modified Verbose setting that suits my needs, putting all album relevant info in the header and only the track and duration in the body.
Comment 6 robert marshall 2012-12-27 21:27:42 UTC
I don't think this would work around the problem. My guess is that it's something deep in Qt, too much space is being made for the dropped tracks and the scroll or the redraw is happening at the wrong point before it finds that the playlist layout changes the requirements.
I've looked at Verbose but I prefer the plainer default (which does more or less the same as you outline)
Comment 7 Myriam Schweingruber 2012-12-27 22:12:17 UTC
Thank you for the feedback.