realbasic-nug
[Top] [All Lists]

Re: FolderItem weirdness

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FolderItem weirdness
From: "Dennis Birch" <dennisbirch at gmail dot com>
Date: Thu, 30 Mar 2006 13:26:14 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nNElAhElur3vBumD3rM4G1ni8duuKdlZ/YvIgZo8ZbGhwa5ARcwGRYK6zy7kBgUHM6lIVTt301U5l4JpIgacEEEirEc+1zbpxgVKVA3lhMw4ixBhHD6YiwCL6Z7SFLkgdi3dEj3NpQU3yxIArfA+11KgyECxKoHst2I48p0lLNA=
References: <fed2e2560603300841i4e3860c1s8c3bcb6b123aadff at mail dot gmail dot com> <F007A71E-FC6C-4832-8AAE-92DC52AD9162 at frontiernet dot net>
I'm glad to know I'm not the only one experiencing this. I wish there was a
better way to deal with it than a timer.

On 3/30/06, Harrie Westphal <harriew at frontiernet dot net> wrote:
>
>
> On Mar 30, 2006, at 10:41 AM, Dennis Birch wrote:
>
> > Finally I came
> > up with the workaround of instantiating a timer that adds a brief
> > delay, and
> > that did succeed. But it really seems like a hack. I don't
> > understand what's
> > going on, or how I could better code around this. Any ideas?
>
> Ah, looking at the code closer, Spotlight would be indexing the new
> copy, not the original and so that shouldn't be stopping you. But,
> along these same lines I have found times when the Finder seems to be
> a little slow releasing everything, especially in some tight code
> such as this forcing one to come up with the need to delay execution.
> A couple of my programs work great 99% of the time without the delay
> but on occasion I will hit return codes that indicate the file is not
> available when it should be. Like you, I never see this when stepping
> through the debugger since there is sufficient delay. It's a pain but
> I don't think RB is the cause of the problem here.
>
> === A Mac addict in Tennessee ===
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>