Safari Problem

User 4ceb4fe234

10-12-2008 12:18:42

Hi everybody,





we've encountered a little problem when using Marvin in Safari on Mac. The applet included in your demo page http://www.chemaxon.com/marvin/sketch/index.jsp freezes/hangs when some menus are opened, e.g. File/Open or Help/About.





We observed this behaviour for Mac OSX 10.5.5, Safari 3.2.1 (5525.27.1) with Java 1.5.0_16.





For Max OSX 10.4.11, Safari 3.1.2 (4525.22) with Java 1.5.0_16 everything works fine.





Can you help us?





Best regards





Helge

ChemAxon 0a9e2a55e1

11-12-2008 15:00:47

Hi!





Thank You for the bug report. We will check it.





Best Regards,


Peter

ChemAxon 7c2d26e5cf

16-12-2008 15:09:19

It is a Safari specific bug that appears only in partial cases under OS X 10.5.


If JavaScript was invoked from the applet, opening any dialog window from the applet hangs Safari.


This bug does not appear in Firefox on the same platform.


The bug may connect somehow to the Mac L&F. This problem occurs only with OS X (Aqua) Look and Feel.


If you set the L&F of the applet to Metal by startup, dialogs will display fine (without browser freezing).


I suggest the following temporary workaround:


Specify L&F for your applet by applet parameter:


Code:
msketch_param("skin","javax.swing.plaf.metal.MetalLookAndFeel");

User 4ceb4fe234

17-12-2008 10:00:06

Hi Tamas,





thanks for your help - this seems to work very well.





Helge