7 messages in com.googlegroups.google-desktop-developerRe: Temp files created with storage.e...
FromSent OnAttachments
tkk22 Mar 2008 09:18 
James [GD Team]24 Mar 2008 17:23 
tkk24 Mar 2008 23:20 
tkk25 Mar 2008 00:36 
James [GD Team]25 Mar 2008 10:50 
Krzysztof Olczyk26 Mar 2008 12:26 
tkk26 Mar 2008 20:37 
Subject:Re: Temp files created with storage.extract disappearing before gadget unload
From:tkk (tkr@gmail.com)
Date:03/25/2008 12:36:46 AM
List:com.googlegroups.google-desktop-developer

Hold on, hold on. This is not a good solution.

I read a css file for my html details view on load and embed links from storage.extract in the css. With this solution, I have to check paths every time I show a hidden div. I also must now explicitly use onmouseover/out instead of the hover selector.

Any idea how long until this is fixed before I need to completely destroy my code?

Thanks, Ty

Hi James,

Just what I needed. Is this fail-proof across XP and Vista?

You da man!

Ty

On Mar 25, 8:23 am, "James [GD Team]" <j.@google.com> wrote:

Hello Ty,

This appears to be a bug. We'll fix it.

For now, you can check if the file exists and re-extract if it's absent.

Here's a utility function that checks if a file exists:

function doesFileExist(filepath) { var fso = framework.system.filesystem;

return fso.FileExists(filepath);

}

Cheers! James

On Mar 22, 9:19 am, tkk <tkr@gmail.com> wrote:

I just noticed that files created with storage.extract disappear spontaneuosly about a minute after gadget load. This makes the image paths unusable. This completely destroys any html details view with relies on these path for images.

I'm using GD 5.7.0802.22438-en-pb with XP.

If this is going to be new default behavior, what is the workaround? I'd hate to call storage.extract repeatedly each time I need to use an image.

Thanks,