Closed
Bug 518298
Opened 15 years ago
Closed 15 years ago
Incorrect sizing of JAVA & FLASH objects in dedicated HTML windows
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: domenico.colella, Unassigned)
Details
(Whiteboard: [needs more info from the reporter])
Attachments
(2 files, 3 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
When displaying an HTML file that contains only a JAVA applet or a FLASH object, the object is not displayed as stated in its width & height dimensions (i.e. 415x250, 410x310), but the area reserved by the browser appears to be considerably wider (672x405... 672x503 I determined that, just having two different backgrounds for the html page & the object).
Furthermore, the javascript properties innerWidth/Height & outerWidth/Height are completely wrong (so further window resize via Javascript are not working).
Reproducible: Always
Steps to Reproduce:
Just needed a JAVA/FLASH object and use a plain HTML to display it (using APPLET or OBJECT tags). I tried assigning width & height 415x250, 410x310.
If can help I can send you some code (I don't know how to post a swf or a jar file).
Actual Results:
The area reserved by the browser is different from the one set in HTML and expected by JAVA/FLASH programs, hence:
1) the object is not displayed correctly
2) security dialogs JAVA/FLASH are centered respect the reserved area instead of the "real" one (when browser window is set to object "real" dimension they can even not be visible at all)
3) Browser window size e position cannot be manged at all via Javascript
Expected Results:
FLASH/Java object to be the size set in html file (width & height tag).
Javascript to report correct value for window width & height.
Both Firefox 3.0.14 and IE, Chrome, Safari are not affected by this problem.
The attachment contains: an html file, a swf file and a js (this is a simple FLASH application, just drawing lines to visulize 415x 250, ...). Both of them have been produced by FLEX3 application.
NOTE: When testing be sure to use http protocol (WHEN OPENING LOCAL FILES THE PROBLEM DOES NOT APPEAR).
I attached few file (I found how to do it) to speed up test/problem confirmation. Be sure to access them through a web server; do not open as local files, in fact file protocol does not seem to be affected!
Comment 3•15 years ago
|
||
How about attaching the flash file itself, attaching a miminized html after the flash without all the script calls (just the needed elements) that links to the attached flash file ?
Removed un-needed stuff from previous attachment.
Attachment #402309 -
Attachment is obsolete: true
Comment 5•15 years ago
|
||
Attachment #402540 -
Attachment is obsolete: true
Comment 6•15 years ago
|
||
Comment 7•15 years ago
|
||
Attachment #428341 -
Attachment is obsolete: true
Comment 8•15 years ago
|
||
So what should I be looking in this testcase? I tried bringing up Flash settings and the window was centered in the 415x250 box.
Whiteboard: [needs more info from the reporter]
Now everything works fine. The problem just disappeared, may be some fix resolved the issue?
Thank you, and sorry for being late, but I had to work on other matters.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Resolution: FIXED → WORKSFORME
Comment 10•15 years ago
|
||
> Now everything works fine. The problem just disappeared, may be some fix
> resolved the issue?
Yeah, it's quite possible. Thanks for writing back!
You need to log in
before you can comment on or make changes to this bug.
Description
•