gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #38625] Gnash initially set Stage.width and Stage.he


From: Nachanon Vetjasit
Subject: [Gnash-commit] [bug #38625] Gnash initially set Stage.width and Stage.height to SWF metadata regardless what <embed> tag says
Date: Fri, 29 Mar 2013 12:19:35 +0000
User-agent: Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1

URL:
  <http://savannah.gnu.org/bugs/?38625>

                 Summary: Gnash initially set Stage.width and Stage.height to
SWF metadata regardless what <embed> tag says
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Fri 29 Mar 2013 07:19:34 PM ICT
                Category: None
                Severity: 3 - Normal
                 Release: 0.8.10
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This bug is a spin-off from bug #37008 (SoundCloud issue).

SoundManager2's debug screen uses values from Stage.width and
Stage.height to set it's TextField size on startup without
listening for stage's size change event.

SoundManager2's SWF was compiled with 16x16 px size.

When displayed on the HTML page, for example
http://www.schillmania.com/projects/soundmanager2/troubleshoot/
Adobe Flash player takes width and height parameter from
<embed> tag, and use it as an initial Stage.width, Stage.height.
Thus, SoundManager2 gets the correct stage dimension
(500x200 px) and able to set TextField size accordingly.

But on Gnash, Stage.width and Stage.height were initially set to
SWF's dimension (16x16 px) regardless what <embed> tag said.
After SoundManager2's initialization code have already run,
Gnash then fires stage size change event with correct
stage dimension afterward.

The consequence is that TextField's display area was reduced
to a single character, making debug screen unusable.

Gnash: gnash 0.8.10-1~lenny, browser-plugin-gnash 0.8.10-1~lenny
       from getgnash.org APT repository
Browser: iceweasel 3.0.6-3 from Debian repository (no addons) 
System: Debian GNU/Linux 5.0 Lenny on i386





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38625>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]