Menu

#103 Javascript applet resizing bug

open
nobody
None
5
2008-07-28
2008-07-28
No

I've been trying to resize an applet on page resize using Javascript and have come across some weirdness in the behaviour of the plugin.

Basically it looks like after a resize something is reverting the clipping boundaries on the applet causing the applet not to render properly.

Interestingly if you change one axis, then change the other it seems to sort it out.

Also: I'm not certain of the desired behaviour but it is nessecary to both change the DOM size for the applet element, and then call the resize method on the applet.

This is on Mac OSX 10.5.4, Firefox 3

Java Plug-in 1.5.0
Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM

I've mocked up a test harness for this at the follwing URL:
http://www.marcuscobden.co.uk/stuff/2008-07/applet/

Discussion

  • Marcus Cobden

    Marcus Cobden - 2008-07-28

    Logged In: YES
    user_id=1879346
    Originator: YES

    The same behaviour occurs in the latest version of Opera for OS X.

     
  • Marcus Cobden

    Marcus Cobden - 2008-09-29

    I have also filed a bug with Mozilla.
    https://bugzilla.mozilla.org/show_bug.cgi?id=451882

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.