Bugzilla – Bug 8760
Drag 'n' Drop reordering in Now Playing is incorrect
Last modified: 2009-07-31 10:24:53 UTC
In the default skin, if I drag a song downwards in the now playing list, it sometimes gets moved one track further down the list than the insertion line indicated. Sometimes a second or so later, the list is then refreshed again and the song is then in the right position, but not always.
I hate "sometimes" and "not always" bugs :-). Do you have additional information like eg. multi page playlist or not, after consecutive d'n'd actions or not, when dragging from above to below the currently playing song etc.?
Not a multiple-page playlist. I've just repeated it. I had a playlist of 31 songs. I am displaying with show artwork enabled. I dragged the last item upwards. I hovered above the 27th item. When the mouse is in the top-half of the 27th item, the insertion line is above the 27th item. When I moved the mouse down a little more (just below half way down the 27th item, the insertion line moves below that item. However, when I drop the item, it still goes above the 27th item.
change 21828 - when dropping a playlist element, not only adjust the position offset, but the target element, too. Please clear the cache etc. :-)
Seems to work most of the time when I drag items from the bottom upwards (once it didn't seem to move the item when I dropped it directly on top of another item). However, it doesn't work if I drag the first item in the list downwards. I notice the same effect when editing playlists too.
working fine for me. Are you still talking about the Now Playing playlist? Or editing a saved playlist?
>Are you still talking about the Now Playing playlist? Or editing a saved >playlist? Both. I pick the top item in the list, drag it over the third item in the list, such that the line is between 2nd and 3rd items. When I release, nothing happens. If I drop when mouse is over bottom half of 3rd item (line is between 3rd and 4th items), it works.
change 22006 - don't compare source/target position, but the position indicator telling whether item has to be inserted before or after the target element. Thanks for testing! Could you please once more?...
Seems to be working fine now - thanks. One minor thing though - the mouse pointer image changes according to what the mouse is hovering over, instead of always being a move icon when dragging.
Phil - please submit a separate bug for the mouse cursor. Don't know whether I'll be able to fix it, though. Seems to be buried somewhere in the ExtJS toolkit :-/. But I'd like to close this bug, as reordering is fine now. Thanks.
This bug has now been fixed in the 7.1 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC