Letractively / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Flash object not visible in Firefox #341

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I thik the is a bug when I try to embed an external SVG file.

1. If you try to open this: (The test file I've made)

 http://cmv.selfip.com/KKpru/svg/helloworld.html

on Firefox, the object (Embed tag) has a visibility style:hidden. And is
invisible.

But it works OK in IE.

2. If I change the visibility (with firebug), the Flash appears.

The onload event, attathed in the html body tag, is not fired until I
change the visibility. This bug happens in Firefox, in IE works fine.

3.

It should work in firefox as in IE.

What version of the product are you using? On what operating system,
browser, and version of Flash?

svgweb svgweb-2009-09-16-Umberhulk-B.zip  
OS: windows XP home SP3 (5.1.2600)
Firefox 3.5.3
IE 6.0
Flash 10.0.32.18

Please provide any additional information below. Reduced test cases are
always appreciated!

When you change the embed tag visibility (inf Firefox, with firebug) you
can see the scg image, as well as in IE. But the lines are rendered with
worse quality than in IE. Look like an antialias issue. (Yes, I know this
has nothing to do with the  ISSUE)

Original issue reported on code.google.com by clama...@hotmail.com on 10 Oct 2009 at 10:25

GoogleCodeExporter commented 8 years ago
I have commented line #1806  in svg-uncompressed.js:

     //this._svgObjects[i].style.visibility = 'hidden'; 

An Firefox works fine. 
So: I think it is an error to make the visibility to hidden in Firefox.

With that line commented, I have no problem in IE (no scroll bars)

Original comment by clama...@hotmail.com on 12 Oct 2009 at 8:40

GoogleCodeExporter commented 8 years ago
When svg objects are created dynamicaly, this bug does not appears, because, 
that
line is not executed.
That is why the demo.html works fine in firefox, but not simple files as mine.

Original comment by clama...@hotmail.com on 12 Oct 2009 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
The same issue than in Firefox happens with Opera.

If the SVG has script, as in svgweb/samples/svg-files/helloworld.svg (in
svgweb-2009-09-16-Umberhulk-B.zip)
then the issue does not happen.

But if the svg has no script, as in svgweb/samples/svg-files/basura.svg, hte 
issue
happens.

TRY THIS: edit the file
/web/script/svgweb/samples/javascript-samples/helloworld.html, and change the 
svg
object file source, (data field), pointing to basura.svg. The issue happens.

Original comment by clama...@hotmail.com on 13 Oct 2009 at 12:35

GoogleCodeExporter commented 8 years ago
This was a regression from work done in Issue 292 (see comment #2) and was 
fixed in
r863. 

Unfortunately, this critical bug went into the UmberHulk release. I think we 
need to
create another release ASAP.

Original comment by grick23@gmail.com on 13 Oct 2009 at 1:25