PDA

View Full Version : GXT beta 2 and Chrome Book



desaintsteban.p
24 Jan 2012, 5:09 AM
Hello,

The new version of GXT didn't work with the Chrome OS, because the user.agent.os property isn't recognized and the application didn't load at all.
The chrome User Agent didn't contains the linux string.
This is an exemple of the chrome OS User Agent :

Mozilla/5.0 (X11; U; CrOS i686 9.10.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.253.0 Safari/532.5

In the /com/sencha/gxt/core/Core.gwt.xml file, correct the properties provider :

<property-provider name="user.agent.os"><![CDATA[
var ua = $wnd.navigator.userAgent.toLowerCase();
if (ua.indexOf("macintosh") != -1 || ua.indexOf("mac os x") != -1) {
return "mac";
}
if (ua.indexOf("linux") != -1 || ua.indexOf("cros") != -1) {
return "linux";
}
if (ua.indexOf("windows") != -1 || ua.indexOf("win32") != -1) {
return "windows";
}
return "unknown";
]]></property-provider>


Thanks,

Patrice de Saint Stéban

PhiLho
25 Jan 2012, 12:51 AM
That's the inconvenience of browser detection vs. feature discovery. An unfortunate choice of Google, closing the door to minor browsers. I suppose feature discovery is harder to do, or more cumbersome, in GWT...

aryzhov
11 May 2013, 8:36 AM
This issue is still not fixed! Even Sencha GXT demos don't load on a Chromebook.

Colin Alworth
13 May 2013, 12:27 PM
Can you verify that this works in the latest (support only) release of GXT 3.0.4 at http://staging.sencha.com:8080/examples-3.0.4/ ? Our OS detection changed to properly support 'unknown' OSes.

aryzhov
14 May 2013, 3:29 PM
I have a commercial GXT 3.x license but not premium support. I thought I would still be entitled to download GXT 3.0.4 but I now can't log in to download it.

branflake2267
23 May 2013, 4:08 PM
Commercial releases are located here > https://maven.sencha.com/repo/gxt-commercial-release but before you have access to them there, login here https://maven.sencha.com/repo. Let us know if you have an issue with logging in.

Brandon

Colin Alworth
23 May 2013, 6:52 PM
To further clarify, buying a commercial GXT license *without* support means you are allowed to use it subject to the terms of the commercial license, and doesn't mean anything about support. Buying support grants you access to our support-only bugfix releases, to SVN, to nightly builds, and gains you the ability to file support tickets and post in the premium help forums.

naginkothari
7 Feb 2014, 9:59 AM
We have commercial license for GXT 3.X , but do not have standard support. When I logged in I am asked to buy support. So from where should I download latest GXT

branflake2267
7 Feb 2014, 2:17 PM
I'm investigating the issue and will get back shortly,
Brandon

branflake2267
7 Feb 2014, 2:32 PM
Sorry for the trouble. The sales team can wire your login up or correct some misconfiguration.

To resolve this issue, you must call in and and the number can be found here https://www.sencha.com/contact.

Brandon

saravvij
18 Aug 2016, 11:38 AM
Has ChromeBook GXT issue been fixed in any of the latest GXT vesion?