Bug 6027 - Home side doesn't fully display on first open
: Home side doesn't fully display on first open
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows Vista
: P2 normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-03 12:14 UTC by Doug Williams
Modified: 2008-12-18 11:12 UTC (History)
0 users

See Also:
Category: ---


Attachments
Home and Artist are only items displayed (64.27 KB, image/pjpeg)
2007-11-03 12:17 UTC, Doug Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Williams 2007-11-03 12:14:36 UTC
Just noticed this starting today when I installed 11/03 build.  Previously I had 10/31 build installed.

This is repeatable on every first browser open.

Click on icon to open SC.
Note that the current playlist, current song, etc. all fully displays.  However, the left side only displays Home and Artist.  Clicking on Home causes the full list to paint.  Closing Browser and repeating gives the exact same results.

This is with IE 7 on Windows Vista and XP.

Potentialy related note:  After the 11/3 version was installed the post install SC browser open just sat on the white screen with the "Loading SqueezeCenter" displayed in the middle.  The circle icon just keeps spinning and it never goes further.  Hitting the browser refresh after waiting several minutes had it load normally.  Strangely this also happened on a different browser on a different box - the first time after the install it wouldn't finish "loading".  Hitting the browser toolbar refresh worked normally again.

I'll upload a print screen.
Comment 1 Doug Williams 2007-11-03 12:17:00 UTC
Created attachment 2344 [details]
Home and Artist are only items displayed
Comment 2 Doug Williams 2007-11-03 12:19:14 UTC
Resizing browser window also causes a full display of the left side.
Comment 3 Michael Herger 2007-11-04 22:55:32 UTC
These both look like JS/caching issues. Do you see JS errors in your browsers (bottom left in IE)?
Comment 4 Doug Williams 2007-11-05 05:12:39 UTC
The printscreen shows no errors.  I see no errors flash by on current tests.  It is 100% duplicatable.  If it was some sort of caching issue wouldn't it happen only once?

Additonal notes:

When I start up the SC interface with a desktop icon AND IE7 is already running it starts in a new tab and I see some text flash by for a fraction of a second before the loading message comes up and then it DOES work correctly the SECOND time (closing the tab and then rerunning the desktop icon).  It doesn't work the first time.

If you were positioned to something further down the menu tree (on an internet radio, etc.), however, when you last closed the SC interface it also appears to load everything.

I installed the 11/4 build and this is still in effect.  It is occurring on multiple boxes (XP and Vista).  All are running IE 7, however.  Neither had any new software installed on them except for the new SC build.  Just prior to installing the new SC build the SC interface (from 10/31) was working as expected.

Could be way off here but it seems like there may be some sort of timing problem loading everything from scratch into the IE 7 instance the first time.  After that any other loads into an existing exe instance work.
Comment 5 Doug Williams 2007-11-05 05:19:29 UTC
Another key piece of information I just noticed - This only seems to occur IF you are using a desktop shortcut to get to the SC interface.  If you start up IE, let it load the www.msn.com page, create a new tab, type in the SC interface link (http://office-sony:9000/ in my case) it works fine.

Seems even more like a startup timing/race condition to me now.
Comment 6 Michael Herger 2007-11-05 05:25:44 UTC
Ok, I have an _idea_ for the first issue. You can see a scroll bar: using it you'll be able to access the full menu, won't you?

We changed the behaviour for the loading of the left page: until a few weeks ago it was only loaded once the full page was loaded. Now it's loaded as soon as that frame is built. At this time the browser probably hasn't resized all it's element, leading to miscalculation of the frame's height... This was to prevent the empty home page you sometimes saw (bug 5626). Now what's better, an empty page or one which is so small it's unusable? Argh...

Can you reproduce the second issue (white screen with the wheel spinning forever)?
Comment 7 Doug Williams 2007-11-05 06:43:44 UTC
Yes, it does scroll.  I probably should have described it a bit better, sorry.

I was never able to reproduce the item that I noted about it not fully starting up after install - just noting something that MAY have been related.  I didn't see this with the 11/4 build at all.  IF it happens again I will report it independently.

Sorry to give you so many conflicting requirements...  :)

THANKS
Comment 8 Chris Owens 2007-11-07 10:43:39 UTC
Michael thinks this is a duplicate, as well as hard to reproduce, but he will have a look.
Comment 9 Michael Herger 2007-11-07 12:29:19 UTC
change 14471 - could you please try again?
Comment 10 Doug Williams 2007-11-07 19:10:17 UTC
I don't think that I have an editor to make the changes to my version of home.js (lots of square boxes, etc.) so I will have to wait until tonight's build finishes to test this.  I was thinking about waiting a few days to let the latest installer changes settle down a bit but since you've got a try at a fix I will do it in the morning.
Thanks!!
Comment 11 Doug Williams 2007-11-08 07:32:32 UTC
That appears to have done it!  Great!

I'm setting this to fixed, but I'm not totally sure I'm supposed to be.  Please let me know if I was supposed to set this to something like "works for me" instead.

Thanks!
Comment 12 Michael Herger 2007-11-08 07:37:24 UTC
It's ok, thanks!
Comment 13 Chris Owens 2008-03-07 09:04:25 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.