Page styles change after loading

turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Tue, 2004-10-26 22:01

Hi,

I have a strange problem with the UI in G2 (has been happening ever since I started with it a couple of months ago, and is still happening with the current CVS). The thing is that when I load a page, a second or so after the load seems to be complete some aspects of the layout change. I've attached some before/after screenshots to illustrate this.

The things I've noticed changing:

1. Fonts. Particularly down the menu bar at the left.

2. Spacing - possible partly to do with the font. The page loads, and I click on a link in the menu bar. Only the page hadn't completely loaded, and once it has the spacing changes and moves the option I was after further down. But my click has already been processed on another link I really didn't want! Maybe I just have to listen to my wife and slow down some...

3. Tabbed options pages - the graphics for the tabs get ruined.

4. Command buttons - the background colour changes (from white to gray).

Does anyone have any ideas where to look to fix this? If it's a stylesheet-type issue, is there a way to get the styles loaded before the rest of the page starts to display?

Thanks,

Matt.

AttachmentSize
layouts - after.jpg57.29 KB
 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Wed, 2004-10-27 09:40

I've just noticed that this only happens when I'm using IE, not Firefrox. Also IE appears to hang when watermarking. I guess I'll just blame this all on Microsoft and leave you guys to get on with developing the product :oops:

 
baschny
baschny's picture

Joined: 2003-01-04
Posts: 328
Posted: Wed, 2004-10-27 15:11

turnbulm, the problem here are mainly related to our experiments with the IE7 compliance patch, which is a bunch of javascripts to "correct" the behaviour of Internet Explorer and its CSS oddities. The problem is that it takes a while to parse all G2-css files and then kick in (which is why you see the delay between what Explorer did and what the IE7 scripts "fix"). The last couple of weeks there have been some discussions about this (mainly because this "delay" is really annoying). If by beta-time we don't find proper solutions to this, we will probably drop IE7 from G2 altogether and find other ways to deal with Explorer's oddities.

Quote:
3. Tabbed options pages - the graphics for the tabs get ruined.

I could solve this issue today, so this one shouldn't be a problem anymore. This was the most blatant problem, as the tabs looked pretty ugly (as your screenshot shows). Update to the latests CVS for this fix (should be in the latest snapshot tonight/tomorrow).

The other issues have minor importance, as they don't really look "ugly", just different, so I guess we will just continue investigating IE7, see if we get it right, or get rid of it.