Bug 5940 - Hovering indications stop to work after drag and drop in Default skin
: Hovering indications stop to work after drag and drop in Default skin
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Skins
: 7.0
: PC Ubuntu Linux
: P2 minor (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-27 23:39 UTC by Erland Isaksson
Modified: 2008-12-18 11:12 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erland Isaksson 2007-10-27 23:39:19 UTC
If I have a few songs in the current playlist and I take one song and drag it to the area below all the songs, this results in that the hovering indications stops to work. So after this when I move the mouse over tracks in the current playlist they are no longer highlighted. This is with Firefox 2.0.0.8 on Ubuntu Linux.

The problem only happens in Default skin, in Fishbone it works correctly.
Comment 1 KDF 2007-10-28 01:11:09 UTC
another case of a missing Utils.init in the js, I suspect. similar to bug 5914
Comment 2 KDF 2007-10-28 13:06:54 UTC
interesting to note, however, that I don't seem to see this problem and don't need to add a Utils.init after a drag and drop.
Comment 3 Michael Herger 2007-10-29 00:02:52 UTC
Can reproduce in that special case where you drag beyond the last item. The problem very likely is due to th minor overlap at the list's bottom: somehow the drop and the "dragout" (leaving the target area) events get mixed up. This should be fixed once I've fixed that layout issue (https://bugs-archive.lyrion.org/show_bug.cgi?id=5741).
Comment 4 KDF 2007-10-29 07:52:59 UTC
I must be missing the layout glitch.  I do have another case, though.  If I delete items one by one, it seems to eventually cause the same result.  I was trying to reduce song count so that there was a larger end of playlist region.  It stopped after 3-4 deletes, nothing in firebug console.
Comment 5 Michael Herger 2007-11-20 07:34:28 UTC
change 14878 - could you please give this another try? Highlighting is disabled during dragging, but wasn't enabled again when the element was dragged out the drop zone.
Comment 6 Erland Isaksson 2007-11-20 11:20:03 UTC
(In reply to comment #5)
> change 14878 - could you please give this another try? Highlighting is disabled
> during dragging, but wasn't enabled again when the element was dragged out the
> drop zone.
> 

I can still reproduce it but it works a lot better than before. It seems pretty random when the problem occurs after this correction, when I drag outside the drop area it works correctly 19/20 times but 1/20 the highlighting stops to work until I drag another item. The problem is easiest to reproduce with very few items in the playlist, like 2-3 items.

I would suggest that we call this good enough and mark this as fixed. 

I'm using Firefox 2.0.0.8 on Ubuntu Linux.
Comment 7 Michael Herger 2007-11-21 00:21:54 UTC
Added one more improvement at change 14891 - can you still reproduce?
Comment 8 Michael Herger 2007-11-30 10:23:25 UTC
Please re-open if this is still bugging you.
Comment 9 Chris Owens 2008-03-07 09:04:23 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.