How to maintain the gadget state when the blip containing the gadget is resized?

1 view
Skip to first unread message

Vikram

unread,
Nov 7, 2009, 7:23:02 AM11/7/09
to Google Wave API
Hi fellow wave developers,

I have found that when the blip containing the gadget into which a SWF
is embedded is resized, the SWF is reloded leading to the SWF
returning to its original state.

How can I make wave remember the state of SWF(gadget) ?

\x00

unread,
Nov 8, 2009, 11:51:47 AM11/8/09
to Google Wave API
Questions:

1.Is this your gadget or a third party gadget?
2.Is it a wave specific gadget?
3.Have you read up on wave states?
4.Are you talking about auto-ajusting the height?
5.Do you realise there is a width restriction?
Message has been deleted

Vikram

unread,
Nov 8, 2009, 12:05:29 PM11/8/09
to Google Wave API
1. I have developed this gadget.
2. Yes it is wave specific gadget.
3. Yes I have pretty good knowledge of wave states.
4. No I am not talking about auto resizing.

Actually every time the blip containing the gadget reloads, the SWF
goes back to its initial gadget,

Whenever you resize invariably the gadget reloads leading to the SWF
going back to its original state. Is there a way to make the wave
server cache the gadget state so that it doesn't reload again and
again?

Lee

unread,
Nov 8, 2009, 11:21:37 PM11/8/09
to Google Wave API
It would seem more appropriate for the SWF object to cache its own
state after each change made to it and to revert to the most recent
state after each refresh.

pamela (Google Employee)

unread,
Nov 9, 2009, 1:48:20 AM11/9/09
to google-...@googlegroups.com
Your gadget is likely suffering from a known issue:
Due to a old bug in Firefox, a SWF inside a gadget is reloaded each time the Wave panel resizes.
There are some workarounds suggested for avoiding this issue, and we're looking into them.

In the meantime, please try to minimize the loading time of your SWF and ensure that you are storing the absolute state in the Gadget state.

- pamela
Reply all
Reply to author
Forward
0 new messages