On Aug 29, 2007, at 3:47 PM, joe at strout dot net wrote:
> Any of the FolderItem operations which
> could affect the file organization (such as MoveFile) should cause the
> framework to reexamine folder contents the next time you
> call .Count or
> Item or whatever. It sounds like it's not doing that for you. Please
> let us know the feedback ID -- I'd like to watch that one.
This is an old bug that involves when the finder updates itself.
Since it is running in the background, it must wait for a certain
period of time before it will update on its own and possibly yields
to frontmost running apps. Usually resetting the folderitem itself in
Rb will force an update as it seems to call an API that triggers it.
I'm not certain exactly how it works now in the new Intel environment.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Wed 29 Aug 2007 21:21:46 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 114C93F6DBAA; Wed, 29 Aug 2007 20:21:55 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-3.1 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id 303893F6DBA0;
Wed, 29 Aug 2007 20:21:54 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 3E3E75E1F11;
Wed, 29 Aug 2007 22:21:39 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 316985E1F06
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 29 Aug 2007 22:21:35 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id 33B857B32D7
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 29 Aug 2007 21:21:46 -0600 (MDT)
Date: Wed, 29 Aug 2007 21:21:46 -0600
Subject: Re: Folderitem.Count returns incorrect value
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <9BABCD1F-90BA-4183-BEAC-C11E7F7144EE at shaw dot ca>
X-Mailer: VerEx Email Gateway
Message-Id: <20070830032146 dot 33B857B32D7 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com
On Aug 30, 2007, at 03:09 UTC, Terry Ford wrote:
> This is an old bug that involves when the finder updates itself.
> Since it is running in the background, it must wait for a certain
> period of time before it will update on its own and possibly yields
> to frontmost running apps.
I don't think the Finder has anything to do with it. I believe there
is code in RB that is intended to handle this situation properly, and
if it's not working, then something has changed, and it'll need to be
fixed.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Strout Custom Solutions, LLC
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|