[ 
https://issues.apache.org/jira/browse/WAVE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461164#comment-13461164
 ] 

Jeremy Naegel commented on WAVE-344:
------------------------------------

With other gadgets based on Maps, it can be even worse than badly centered 
content, like with this iGoogle gadget that use Google Maps to track satellites 
in real-time: 
http://www.google.fr/ig/directory?type=gadgets&url=www.n2yo.com/sat/gsat.xml 
(this gadget has always worked flawlessly in Google Wave and was also working 
perfectly in early versions of WiaB demo servers). 

When loading a wave with this Satellite Tracking Tool gadget (added via its 
http://www.n2yo.com/sat/gsat.xml URL), because the gadget container size isn't 
set yet, the gadget (or is it Maps?) apparently detects that there isn't enough 
room to display a map and simply display a grey background instead, thus 
totally breaking the gadget functionality.

If you reload that same wave enough time, you may end up having a slowdown (is 
it on the WiaB server side or on the XML gadget hosting side?) that will make 
the gadget load *after* the gadget size is set. In those rare case you'll see 
this Satellite Tracking Tool gadget working flawlessly, proving that the gadget 
isn't faulty, but defeated by the container width loaded to late.
                
> Gadgets loaded before width is set
> ----------------------------------
>
>                 Key: WAVE-344
>                 URL: https://issues.apache.org/jira/browse/WAVE-344
>             Project: Wave
>          Issue Type: Bug
>          Components: Extentions
>            Reporter: Zachary “Gamer_Z.” Yaro
>              Labels: gadgets
>
> When a gadget is loaded, the gadget itself is loaded before the gadget size 
> is set.  For gadgets like the maps gadget, this results in content being 
> centered around the top left corner instead of the middle of the gadget 
> frame.  The gadget frame should be set to the default size before the gadget 
> content is loaded, as it is done in Gwave.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to