Bug 3707 - Pane refresh errors don't recover
: Pane refresh errors don't recover
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: unspecified
: PC All
: P2 trivial (vote)
: Future
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-06 18:45 UTC by Jim McAtee
Modified: 2008-12-15 13:07 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2006-07-06 18:45:38 UTC
I've listed this as trivial, which it is.  I've no idea if the solution is trivial, or even possible.

On my desktop PC I usually keep a Firefox browser tab open to my SlimServer.  When I go back to the tab after a long period of inactivity (several hours with no music playing on the selected player) I often see that one or both of the right-hand 'status' and 'playlist' panes are displaying a Firefox timeout error page.  Refreshing within either pane or else refreshing the entire page will clear this up, but it's an inconvenience.

If I'm thinking clearly, the problem is that the loaded pages within these two panes refresh themselves.  When the page is unable to be loaded for whatever reason then that chain is broken and the panes keep the error message displayed until the user refreshes them manually.  The browse pane is never affected because it doesn't refresh itself, so even if the server is completely unavailable it doesn't cause an error there.

Could the javascript for the refreshes of the two right-hand frames be moved to the browse frame or even to the frameset pages?
Comment 1 KDF 2006-07-06 20:45:23 UTC
not as trivial as it may seem.  the refresh timing is dependant on the current song time, and is updated on each refresh.  
without some sort of refresh on the page that contains the javascript, we'd lose the updates that set the refresh near teh track boundary.  Ajax mitigates this somewhat, in that it can avoid the blank page, but some aspects of the ajax update are still lost when the connection is gone for a length of time, whether by server stoppage or client going into standby
Comment 2 Chris Owens 2006-07-07 09:07:22 UTC
I've seen this as well.

I'll assign it to Dan for now to muse upon.
Comment 3 KDF 2006-09-26 23:48:49 UTC
this should now be fixed in 6.5.1, at least for Default, Fishbone, and Nokia770.  All of these use ajax for handling the refresh.  Default has the most minimal case that delays page refresh until there is a valid response from the server on a small 'ping' page load. Works in 6.5.0 for Firefox, bug IE required a later fix. See bug 4192
Comment 4 James Richardson 2008-12-15 13:07:34 UTC
This bug appears to have been fixed in the latest release!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.

Make sure to include the version number of the software you are seeing the error with.