Bug 6169 - Song Progress bar incorrect in undocked player panel
: Song Progress bar incorrect in undocked player panel
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-16 09:53 UTC by Philip Meyer
Modified: 2008-12-18 11:12 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
allow onResize to complete and call progress when undock is resized. (2.51 KB, patch)
2007-11-16 12:38 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2007-11-16 09:53:32 UTC
I had an empty playlist.  I collapsed the player panel in the default skin.  I then undocked the player panel.

In the player panel, the track progress bar appears with hardly any width.

If I undock the player panel when the player panel is not collapsed, the progress bar appears correctly.
Comment 1 KDF 2007-11-16 10:37:33 UTC
svn version?
did you clear the cache?
browsers?
Phil, you should know to included all of the above info by now. Reports are not very useful with incomplete details.

SVN 14778, on FF, with empty playlist and collapsed player panel, I get a collapsed undock panel (which I can expand)
expanded player panel, I'm getting an expanded undock panel.  The progress bar is initially short when it first appears, but then expands when the undock window is resized as the render completes.  Same thing if I expand a collapsed undock panel.  The progress is initially  very short, but resizes to fit the panel automatically.
Comment 2 Philip Meyer 2007-11-16 11:04:14 UTC
Sorry, I'm trying to catch up with many bug reports and was rushing through things a bit.  My new-born son (1.5 days old), has just come back from hospital, so I haven't got as much time at the moment.  Trying to enter things whilst I can remember - and I haven't had any sleep in 48 hours!

Trying it again, I think the key to this issue is that it only occurs when the player power is off - I have tried it with a playlist and an empty playlist.

SVN14776.
Cleared cache and restarted.
Firefox 2 and IE7.

Turn player power off.  Collapse panel.  Undock panel.  Expand panel in the undocked window.
Comment 3 KDF 2007-11-16 11:24:27 UTC
thanks, that's got it.  powered off when expanding a collapsed undock panel.

now...here's another tip:  When the kid sleeps, YOU sleep.  Don't use the time to catch up on bug reports.
Comment 4 Philip Meyer 2007-11-16 12:24:13 UTC
Thanks for the tip - I'm learning the hard way.
Comment 5 KDF 2007-11-16 12:38:06 UTC
Created attachment 2418 [details]
allow onResize to complete and call progress when undock is resized.

Turns out that the onResize routine was silently bailing out due to missing left/right panels in the undock.  This prevented the progress bar from updating, so this simple patch will allow the routine to complete.
Comment 6 KDF 2007-11-16 12:38:44 UTC
cc'ing michael for review.
Comment 7 Michael Herger 2007-11-18 23:40:26 UTC
change 14825 - thanks kdf!
Comment 8 Chris Owens 2008-03-07 09:05:17 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.