<div dir="ltr">Rebuilding with -Dgwt.userAgent=<div>ie8,ie9,gecko1_8,safari,opera -Pgwt-admin,gwt-user,dep had no effect. Which given that the default behavior of master is to do this is not surprising.<br><br></div><div>The Internet Exploder "edge" mode seems to be the core culprit here.<br>
<br></div><div>- DHC<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 12:18 PM, Daniel Erez <span dir="ltr"><<a href="mailto:derez@redhat.com" target="_blank">derez@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
----- Original Message -----<br>
> From: "Vojtech Szocs" <<a href="mailto:vszocs@redhat.com">vszocs@redhat.com</a>><br>
> To: "Dead Horse" <<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>><br>
</div><div class="im">> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> Sent: Friday, February 15, 2013 3:32:03 PM<br>
> Subject: Re: [Users] Fwd: Internet Explorer with latest master<br>
><br>
</div><div><div class="h5">> Hi,<br>
><br>
> doing "make rpm" will actually build Engine using Maven and produce<br>
> RPMs, but you might also want to deploy Engine EAR that was built to<br>
> JBoss server via "make install_artifacts".<br>
><br>
> > Thus I assume the master build does not default to compiling for<br>
> > all browsers?<br>
><br>
> Aside from "make rpm-quick", which builds quick & dirty RPMs for<br>
> Firefox [gwt.userAgent=gecko1_8], I don't see any "gwt.userAgent"<br>
> stuff in makefile, so the master build defaults to compiling for all<br>
> browsers, unless you override this via "EXTRA_BUILD_FLAGS".<br>
><br>
> I think an easier way to do this is as Alona suggested, invoking<br>
> Maven build directly:<br>
><br>
> $ "mvn clean install -Pdep,gwt-admin,gwt-user", but it's up to you.<br>
><br>
> Anyway, I think the problem isn't related to "gwt.userAgent" property<br>
> at all. If the GWT permutation for IE is missing, blank page will be<br>
> shown, as GWT permutation selector script (*.nocache.js) will not be<br>
> able to load that permutation.<br>
><br>
> I think the problem might be caused by your client's IE browser<br>
> settings. As per [1], IE should render HTML page with "<!DOCTYPE<br>
> html>" using standards mode; rendering mode which WebAdmin and<br>
> UserPortal require. So if you see garbled mess in IE, it means IE<br>
> doesn't render HTML page in standards mode, but in other (quirks?)<br>
> mode, due to some IE browser settings override.<br>
><br>
> The "X-UA-Compatible" meta-tag actually *forces* IE to render HTML<br>
> page in standards mode, which overrides any IE browser settings:<br>
><br>
> <meta http-equiv="X-UA-Compatible" content="IE=9"/><br>
><br>
> (I think we should reconsider adding this meta-tag due to reasons<br>
> above, to ensure better compatibility with IE.)<br>
<br>
</div></div>Instead of forcing IE9 mode we can use "edge" mode to display content in the highest mode available.<br>
I.e.:<br>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/><br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Vojtech<br>
><br>
> [1] <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx</a><br>
><br>
><br>
> ----- Original Message -----<br>
> From: "Dead Horse" <<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>><br>
> To: "Alona Kaplan" <<a href="mailto:alkaplan@redhat.com">alkaplan@redhat.com</a>><br>
> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>>, "Vojtech Szocs" <<a href="mailto:vszocs@redhat.com">vszocs@redhat.com</a>><br>
> Sent: Thursday, February 14, 2013 8:02:04 PM<br>
> Subject: Re: [Users] Fwd: Internet Explorer with latest master<br>
><br>
><br>
><br>
> NVM got it --><br>
> BUILD_FLAGS=-Dgwt.userAgent=ie8,ie9,gecko1_8,safari,opera<br>
> -Pgwt-admin,gwt-user,dep<br>
> Building now.<br>
><br>
><br>
> - DHC<br>
><br>
><br>
><br>
><br>
> On Thu, Feb 14, 2013 at 12:23 PM, Dead Horse <<br>
> <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> > wrote:<br>
><br>
><br>
><br>
><br>
> I remember there being a GWT configuration file somewhere where those<br>
> could be set?<br>
> - DHC<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Feb 14, 2013 at 10:44 AM, Alona Kaplan < <a href="mailto:alkaplan@redhat.com">alkaplan@redhat.com</a><br>
> > wrote:<br>
><br>
><br>
> Hi,<br>
><br>
> Instead of doing make rpm please compile manually using the following<br>
> command:<br>
> mvn clean install -Dgwt.userAgent=ie8,ie9,gecko1_8,safari,opera<br>
> -Pgwt-admin,gwt-user,dep<br>
><br>
><br>
> Alona.<br>
><br>
><br>
> ----- Original Message -----<br>
> > From: "Dead Horse" < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
><br>
><br>
> > To: "Vojtech Szocs" < <a href="mailto:vszocs@redhat.com">vszocs@redhat.com</a> ><br>
> > Cc: "Alona Kaplan" < <a href="mailto:alkaplan@redhat.com">alkaplan@redhat.com</a> >, "< <a href="mailto:users@ovirt.org">users@ovirt.org</a> >" <<br>
> > <a href="mailto:users@ovirt.org">users@ovirt.org</a> ><br>
> > Sent: Thursday, February 14, 2013 6:18:54 PM<br>
> > Subject: Re: [Users] Fwd: Internet Explorer with latest master<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > When I compile the engine I do the following: (FC17 build host)<br>
> > --> git clone <a href="http://gerrit.ovirt.org/ovirt-engine.git" target="_blank">http://gerrit.ovirt.org/ovirt-engine.git</a><br>
> > --> cd ovirt-engine<br>
> > --> make rpm<br>
> ><br>
> > Thus I assume the master build does not default to compiling for<br>
> > all<br>
> > browsers? The GWT compliation seems to go through quite a few<br>
> > permuatations during the compile.<br>
> ><br>
> ><br>
> > If master is not set to compile for all browsers then given the<br>
> > above<br>
> > build steps what additionally should I be doing to make it so<br>
> > (guessing refer to above but how to simplify to "make rpm") ?<br>
> ><br>
> ><br>
> > - DHC<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Thu, Feb 14, 2013 at 10:09 AM, Vojtech Szocs < <a href="mailto:vszocs@redhat.com">vszocs@redhat.com</a><br>
> > ><br>
> > wrote:<br>
> ><br>
> ><br>
> > Hi,<br>
> ><br>
> ><br>
> > > Maybe you've compiled the application with -Dgwt.userAgent flag<br>
> > > for<br>
> > > a specific browser?<br>
> ><br>
> > this is a good point, please make sure to compile UserPortal for<br>
> > all<br>
> > browsers, e.g. instead of:<br>
> ><br>
> > $ mvn clean install -Pdep,gwt-user<br>
> > -Dgwt.userAgent=<specificBrowser><br>
> ><br>
> > you should just do:<br>
> ><br>
> > $ mvn clean install -Pdep,gwt-user<br>
> ><br>
> > This will compile UserPortal for all browsers.<br>
> ><br>
> > However, I don't think this is the problem here, because IIRC when<br>
> > you compile UserPortal only for browser X and you try to access it<br>
> > in browser Y, you'll get an empty webpage.<br>
> ><br>
> > Vojtech<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > From: "Alona Kaplan" < <a href="mailto:alkaplan@redhat.com">alkaplan@redhat.com</a> ><br>
> > To: "Dead Horse" < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
> > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > Sent: Thursday, February 14, 2013 4:18:36 PM<br>
> > Subject: [Users] Fwd: Internet Explorer with latest master<br>
> ><br>
> > Hi,<br>
> ><br>
> > The webadmin and userportal works pretty fine for me on ie8 and<br>
> > ie9.<br>
> > Can you please be more specific about what doesn't work for you?<br>
> > Maybe attaching a screen shot.<br>
> ><br>
> > Maybe you've compiled the application with -Dgwt.userAgent flag for<br>
> > a<br>
> > specific browser?<br>
> > You should compile without any specific gwt.userAgent to support<br>
> > all<br>
> > the browsers or to add -Dgwt.userAgent=ie8,ie9 to support ie8 and<br>
> > ie9.<br>
> ><br>
> > Alona.<br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Dead Horse" < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
> > > To: "< <a href="mailto:users@ovirt.org">users@ovirt.org</a> >" < <a href="mailto:users@ovirt.org">users@ovirt.org</a> ><br>
> > > Sent: Wednesday, February 13, 2013 7:01:48 PM<br>
> > > Subject: [Users] Internet Explorer with latest master<br>
> > ><br>
> > > Ever since this change: <a href="http://gerrit.ovirt.org/#/c/11078/" target="_blank">http://gerrit.ovirt.org/#/c/11078/</a><br>
> > > The webadmin and userportal UI no longer displays nor works<br>
> > > correctly<br>
> > > within Internet Explorer 8 or 9.<br>
> > ><br>
> > > Under IE 8 or 9 the UI is pretty much an usable garbled mess.<br>
> > > Everything looks and works fine under Chrome and Firefox.<br>
> > ><br>
> > > Unfortunately Internet Exploder is a necessary evil for windows<br>
> > > users<br>
> > > to be able to get at SPICE consoles. (No spice plugin/support for<br>
> > > Firefox/Chrome yet...)<br>
> > ><br>
> > > - DHC<br>
> > ><br>
> > > _______________________________________________<br>
> > > Users mailing list<br>
> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br></div>