Closed Bug 321704 Opened 20 years ago Closed 20 years ago

Firefox 1.5 breaks Shockwave content on non-us systems

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aldo, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 The system locale settings influence variables inside Shockwave running in Firefox 1.5. If the system locale setting for decimal symbol is set to anything but a period (.), float values may be unrecognised as such in certain common cases. Mainland european, as well as some asian locale settings have the comma (,) set as the decimal symbol by default. http://www.fieldofview.com/spv/legacy/spaceneedle.dcr Works fine with a period decimal symbol, gives shockwave error dialog with a comma http://www.fieldofview.com/pano-fullscreen/show.php?file=climbing-tree.jpg Can pan and tilt the camera with a period, just won't tilt with a comma (or - if you're lucky - display upside down) http://www.panotools-meeting.com/2005/panos/venice05-reg.html Press the button in the lower right corner. Name tags fade in, which are misplaced when a comma is used http://www.xonko.com/xMini/index.html You can pan spin the mini with a period, but the view is stuck with the comma The same content works as expected in Firefox 1.0.x Reproducible: Always Steps to Reproduce: 1. go to the system Control Panel and open the 'Regional and Language Options' 2. on the first tab, press the 'Customize button' 3. in the Numbers tab, change the 'Decimal symbol' character to something other than a period (.), eg a comma (,) 4. apply these settings and restart Firefox Now visit any of the sites listed in the 'details' for this bug A Shockwave movie is available to highlight (some of) the problems: http://fieldofview.com/temp/firefox15_floats.dir The left box has the values Shockwave creates dynamically, which apparently depend on your system Locale setting if you are using Firefox 1.5. The middle column shows what the values should be, and what they are in any browser but Firefix 1.5 with the 'wrong' Locale settings. The last column is a reference that shows what the values look like if the decimal symbol is set to a comma. This may be the cause of bug 315230, but I can not confirm because the referenced site seems to be down: https://bugzilla.mozilla.org/show_bug.cgi?id=315230 Other plugins may be similarly affected by this bug, see bug nr 319318: https://bugzilla.mozilla.org/show_bug.cgi?id=319318
Is this Firefox's fault, or is this really a Shockwave problem?
(In reply to comment #1) Since only Firefox 1.5 seems to be having this issue, I am inclined to say it is a problem with Firefox 1.5. Browsers that do not exhibit the problem include Firefox 1.0.x as well as IE and Opera. I will admit that from a layman's point of view (I know little about either making a plugin or a browser) it sounds strange that a system locale setting influences how internal floats and functions are handled. However, the fact of the matter is that content that works fine with other browsers breaks in Firefox 1.5 I have also informed Macromedia/Adobe of the issue.
320817(In reply to comment #1) > Is this Firefox's fault, or is this really a Shockwave problem? See Bug 320817 https://bugzilla.mozilla.org/show_bug.cgi?id=320817#c1 (this is a duplicate) Perhaps bug 153586 has something to do with this... at least it is locale related and was fixed in 20040616
> See Bug 320817 (this is a duplicate) Yours is a prior bug, but this bug contains information on what's causing the issues (decimal symbol in system locale). Bug 318756 also seems to be caused by the same underlying bug; setting the decimal symbol to a period fixes the referenced url (http://www.ffx.it/online/games/runner.htm) I have added comments to the other related/duplicate bugs. If someone wants to mark this or one of the other bugs duplicate, that's fine with me.
Since posting the bug, the second url now includes a workaround. The version that is broken in Firefox 1.5 with the 'wrong' locale can still be found here: http://www.fieldofview.com/spv/show13.php?file=../pano-fullscreen/climbing-tree.jpg
I can confirm various issues with Firefox 1.5 and the way Aldo Hoeben solved it (for the advised user). I meet this problem on almost every Shockwave 3d content; for example if you try to display the real-time characters in the Images/Personnages section on my Deathstiny site (http://www.unlimit3d.com/deathstiny) the dynamically loaded .w3d files disappear just after loading. I encountered this problem since the very first day I upgraded from FF 1.0.7 to 1.5 (it worked perfectly with previous versions) and it strangely occured in Internet Explorer also (IE6, Win XP SP1). After some other characters loadings I randomly get an error message. I don't use any float operations in this application and that let me think of .w3d files using them for calculation. Using the technique described by Aldo (the comma to period switch) the bugs disappear both in FF and IE.
In none of the cases I inspected, IE was affected. This includes the Deathstiny site (http://www.unlimit3d.com/deathstiny) referenced by Cerebral; this works fine in IE, but does not work in FF1.5 until I set the decimal symbol to a period. The fact that you get error messages 'randomly' is caused by Shockwave only reporting every 11th error by default (the first 10 errors occur silently).
(In reply to comment #5) > Since posting the bug, the second url now includes a workaround. The version > that is broken in Firefox 1.5 with the 'wrong' locale can still be found here: > http://www.fieldofview.com/spv/show13.php?file=../pano-fullscreen/climbing-tree.jpg > Unluckly it is not possible to find always workaround to this problem. Even the nice workarounds proposed by the Shockwave mailinglist "Dir3d-l" are not feasible when they should be applied to a lot of data (the prog language, Lingo, is interpreted and slow). Please solve with this bug.
Why is this bug still "UNCONFIRMED", it is known to the community and there many report reffering to locale problems in FireFox bugzilla (315230, 318756, 313524)?
The web site http://www.borgarvefsja.is/bvs.html does not work in Firefox 1.5 if I have Windows regional settings set to Icelandic (European style decimal symbol and list separator). I get a popup box titled "Director Player Error" and the text "List expected for handler #duplicate". Eventually I have to use the Task Manager to kill the Firefox process. Works fine if they are set to English (US). Main differences between these regional settings is that English uses . as decimal symbol but Icelandic uses , and English uses , as list separator but Icelandic uses ; and finally that English uses , as digit grouping symbol but Icelandic uses . Works fine in Firefox 1.0.x and IE 6 regardless of regional settings => a bug in Firefox 1.5(?)
Just upgraded to version 1.5.0.1 and I still get the same bugs..
I can confirm the bug on my system: windows XP, Firefox 1.5.01
After updating the shockwave player to just released version 10.1.1r16.....all seems now to be ok again ! Go download and try for yourself: http://www.macromedia.com/go/getshockwaveplayer/
Confirmed that this bug was fixed by Macromedia. Non-us Firefox 1.5 users must update their Shockwave install to the latest version available on http://www.macromedia.com/shockwave/download.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.