Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Angel Herráez
Not sure what's going on.
Jmol.js in inserting an applet tag (Jmol #1) for Chrome and fails to display, 
but when that 
code is written directly (Jmol #2) it works.

I've read about changes in the way recent Chrome deals with object tags, but 
not with applet 
tags. And since Chrome/Win hasn't got this problem, I think that's not the 
issue now.

Anyway, I'm trying to direct Jmol.js to insert object tag for Chrome and Safari 
instead of 
applet tag, let's see if that workaround solves the issue.

Can you please test this new version
http://biomodel.uah.es/angel/Jmol/test/test-object-tags-2.htm
particularly under Chrome/Mac and Safari?

Thanks



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Robert Hanson
I hope someone is filing a bug report with Chrome -- you have a good page
there that very easily demonstrates the problem, it sounds like.

2011/1/28 Angel Herráez angel.herr...@uah.es

  Not sure what's going on.
 Jmol.js in inserting an applet tag (Jmol #1) for Chrome and fails to
 display, but when that code is written directly (Jmol #2) it works.

  I've read about changes in the way recent Chrome deals with object tags,
 but not with applet tags. And since Chrome/Win hasn't got this problem, I
 think that's not the issue now.

  Anyway, I'm trying to direct Jmol.js to insert object tag for Chrome and
 Safari instead of applet tag, let's see if that workaround solves the issue.

  Can you please test this new version
 http://biomodel.uah.es/angel/Jmol/test/test-object-tags-2.htm
 particularly under Chrome/Mac and Safari?

  Thanks





 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better
 price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Jmol-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers




-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Kevin Rosso
I'm sorry , I meant distribute the Jmol.js that generates the correct code

On Fri, Jan 28, 2011 at 9:30 AM, Kevin Rosso ross...@gmail.com wrote:
 Angel-
 I've tested your url and it now loads Jmol succesfully. Attached is
 screenshot. Would this qualify as a 'patch', were you to distribute
 the jar that generates this code?
 Let me know how to proceed.


 2011/1/28 Angel Herráez angel.herr...@uah.es:
 Not sure what's going on.
 Jmol.js in inserting an applet tag (Jmol #1) for Chrome and fails to
 display, but when that code is written directly (Jmol #2) it works.
 I've read about changes in the way recent Chrome deals with object tags, but
 not with applet tags. And since Chrome/Win hasn't got this problem, I think
 that's not the issue now.
 Anyway, I'm trying to direct Jmol.js to insert object tag for Chrome and
 Safari instead of applet tag, let's see if that workaround solves the issue.
 Can you please test this new version
 http://biomodel.uah.es/angel/Jmol/test/test-object-tags-2.htm
 particularly under Chrome/Mac and Safari?
 Thanks


 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Jmol-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers





 --
 Kevin M. Rosso
 work: 202-687-3785
 cell: 240-498-5896




-- 
Kevin M. Rosso
work: 202-687-3785
cell: 240-498-5896

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Angel Herráez
Bob,
problem is, I don't know what/where the bug is, so I can hardly file it --may 
be taken as a 
Jmol.js problem. As I said, the applet code (#2) works fine when entered 
manually, but not 
(#1) when entered by Jmol.js (on my v.1 page, using the regular Jmol.js)  
http://biomodel.uah.es/angel/Jmol/test/test-object-tags.htm

On page v.2, I am using a modified Jmol.js
http://biomodel.uah.es/angel/Jmol/test/test-object-tags-2.htm
It basically directs Chrome and Safari to use an obejct tag instead of an 
applet tag. Since the 
strange behaviour seems related to Mac/Chrome's interpretation of the applet 
tag (given the 
difference Kevin sees between my v.1 and v.2 pages), the problem is not solved 
but skipped.

Kevin,
yes, given that the modified Jmol.js works it will be put into the next 
distribution of Jmol (but 
I'd like to have some more extensive testing by different users, browsers and 
OSs before 
releasing it)

For now, I will send the modified Jmol.js to you off-list if you want,
as soon as I double-check which were the changes I introduced (this was done 
back at the 
beginning of  December).
BTW, I documented some of those findings and proposed changes at
http://wiki.jmol.org/index.php/Jmol_Applet/Browser_Support




--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Oliver Stueker
Angel,

I'm happy to report:

OS: Ubuntu Linux 10.4 (x64) with Sun-Java: 1.6.0_22 :
* Chrome 8.0.552.237 - page v.1 and v.2: Jmol-Applets 1,2 and 3 work
* Firefox 3.6.13 - page v.1 and v.2: Jmol-Applets 1,2 and 3 work

OS: Windows 7 (x64) with Sun-Java: 1.6.0_22 (x86):
* Chrome 8.0.552.237 - page v.1 and v.2: Jmol-Applets 1,2 and 3 work
* Firefox 3.6.13 - page v.1 and v.2: Jmol-Applets 1,2 and 3 work
* Internet Explorer 8 (x86) - page v.1 and v.2: Jmol-Applets 1,2, 3 and 4 work

(no screen-shots as they all basically look like Kevin's Screen shot
2011-01-28 at 9.27.57 AM.png)

Oliver

2011/1/28 Angel Herráez angel.herr...@uah.es

 Bob,
 problem is, I don't know what/where the bug is, so I can hardly file it 
 --may be taken as a
 Jmol.js problem. As I said, the applet code (#2) works fine when entered 
 manually, but not
 (#1) when entered by Jmol.js (on my v.1 page, using the regular Jmol.js)
 http://biomodel.uah.es/angel/Jmol/test/test-object-tags.htm

 On page v.2, I am using a modified Jmol.js
 http://biomodel.uah.es/angel/Jmol/test/test-object-tags-2.htm
 It basically directs Chrome and Safari to use an obejct tag instead of an 
 applet tag. Since the
 strange behaviour seems related to Mac/Chrome's interpretation of the applet 
 tag (given the
 difference Kevin sees between my v.1 and v.2 pages), the problem is not 
 solved but skipped.

 Kevin,
 yes, given that the modified Jmol.js works it will be put into the next 
 distribution of Jmol (but
 I'd like to have some more extensive testing by different users, browsers and 
 OSs before
 releasing it)

 For now, I will send the modified Jmol.js to you off-list if you want,
 as soon as I double-check which were the changes I introduced (this was done 
 back at the
 beginning of  December).
 BTW, I documented some of those findings and proposed changes at
 http://wiki.jmol.org/index.php/Jmol_Applet/Browser_Support


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol applet not running in Chrome 8.0.552

2011-01-28 Thread Jonathan Gutow
Angel,

I found one problem with your proposal. See below.

Jonathan
On Jan 28, 2011, at 2:28 PM, Angel Herráez wrote:

 Thanks, Oliver, for the report
 
 Pending further testing, this is my interpretation so far:
 
 1.
 This is not an issue with browser handling of the applet tag, but with the 
 object tag (I stand 
 corrected here on my previous comment, after re-reading my own conclusions 
 left in the wiki 
 page last month :-) )
 
 2.
 There is a discussion on the web and many reports of websites suddenly 
 failing due to 
 Chrome's ~recent change of behavior over the object tag
 http://code.google.com/p/chromium/issues/detail?id=62076
 which they say (a) will not be reversed --considered a spec, not a bug, (b) 
 will propagate to 
 Safari as it is updated
 
 The issue is with object tags using a   classid='java:   parameter. The cure 
 is to remove this 
 parameter (apparently the removal does not damage other browsers)
 
 3.
 The reason the problem is only seen in Macs is due to the old browser 
 sniffing code in 
 Jmol.js --which incidentally I discovered last December, don't really 
 remember why--
 * So that Mac/Chrome is read as Mac/Safari and both get an object tag.
 * While Win/Safari and Win/Chrome are not detected and so get (as a fallback) 
 an applet 
 tag.
 * Win/Firefox and Linux/Firefox get object, but Mac/Firefox is set to use 
 applet (don't know 
 why). None of them give trouble.
 More details at the Wiki, 
 http://wiki.jmol.org/index.php/Jmol_Applet/Browser_Support
 
 4. 
 My proposal (partially implemented in my v.2 page modified Jmol.js, which I 
 would propagate 
 to the official Jmol.js and the browser testing page in the Jmol website):
 a. Chrome is detected before Safari (although maybe that's not necessary). Or 
 better, reduce 
 browser sniffing to the (old) exceptions that were known not to work and 
 leave most as 
 feature detection.
 b. Both Chrome and Safari will get the object tag, irrespective of the OS, as 
 other modern 
 browsers are getting.
 c. Set Mac/Firefox to do the same as other Firefoxes  (Anyone knows of any 
 problems with 
 Mac/Firefox that make the applet tag more adequate than the object tag?)
Just tested this.  Your version 2 page does not work with FF 3.6+  MacOS 10.6. 
No Jmol appears in the first box. Apparently, MacOS FF does do something 
different.  I will also test some of the other combinations this weekend.

Jonathan
 d. Most importantly, adopt the new syntax for the object tag, so avoiding the 
 problem seen in 
 Mac/Chrome and a future problem in Mac/Safari
 
 
 
 
 
 
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
 February 28th, so secure your free ArcSight Logger TODAY! 
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Jmol-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers

 Dr. Jonathan H. Gutow
Chemistry Departmentgu...@uwosh.edu
UW-Oshkosh  Office: 920-424-1326
800 Algoma BoulevardFAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/facstaff/gutow


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers