Bugs item #1705986, was opened at 2007-04-23 10:43
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1705986&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Rolf Huehne (rhuehne)
Assigned to: Nobody/Anonymous (nobody)
Summary: 11.1.28 - applet resizing problem

Initial Comment:
If the applet is resized for example with 
'document.getElementById("jmolApplet0").style.width = 1600' and 
'document.getElementById("jmolApplet0").style.height = 1600' and then resized 
back to the original size (600x600), the second resize is not fully recognized 
internally. The applet is resized but the model shown is not adapted 
automatically to the new size. And if an image is requested with the function 
"jmolGetPropertyAsString("image")" it still has 1600x1600 pixels.

This problem is demonstrated at the following URL: 
http://www.fli-leibniz.de/cgi-bin/3d_mapping-resize.pl?CODE=1deh&JMOLVERSION=11.1.28

After loading the page first resize the graphics window to 1600x1600 pixel, 
then resize it to 600x600 pixel and generate a snapshot with the "snapshot" 
button.

It seems to work properly if the second resize is not to the initial size.

----------------------------------------------------------------------

>Comment By: Bob Hanson (hansonr)
Date: 2007-12-30 16:36

Message:
Logged In: YES 
user_id=1082841
Originator: NO

not reproducible in 11.3.66


----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2007-06-12 07:42

Message:
Logged In: YES 
user_id=1082841
Originator: NO

not included in Jmol 11.2.0 -- needs better definition; probably not a
Jmol issue.

----------------------------------------------------------------------

Comment By: Rolf Huehne (rhuehne)
Date: 2007-06-06 10:16

Message:
Logged In: YES 
user_id=1344570
Originator: YES

Currently it looks as if the problem is somehow browser dependent. On my
system (Java 1.4.2_13, SuSE Linux 9.3) the problem is almost totally
reproducible in Firefox 1.5.0.10 (5 out of 6 cases when I tried it a few
minutes ago). I am quite sure that I also tried it in MSIE and Firefox on
Windows several weeks ago and there was the same problem. Right now I
couldn't reproduce it there either.

Fortunatly I have already found a workaround so that we could integrate
the very useful resizing option already in our Jmol interface: the initial
size is set to 602x602 and after finishing the page it is resized to
600x600.

----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2007-06-03 13:58

Message:
Logged In: YES 
user_id=1082841
Originator: NO

http://www.fli-leibniz.de/cgi-bin/3d_mapping-resize.pl?CODE=1deh&JMOLVERSION=11.1.28

[ok]

After loading the page first resize the graphics window to 1600x1600
pixel,
[ok]

then resize it to 600x600 pixel and generate a snapshot with the
"snapshot"
button.
[ok -- looks good to me]
Is there a problem here?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1705986&group_id=23629

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to