Re: [evolution-patches] Patch to fix crash when expanding "On this Computer" in mailer
- From: Not Zed <notzed ximian com>
- To: Rodney Dawes <dobey ximian com>
- Cc: evolution-patches ximian com
- Subject: Re: [evolution-patches] Patch to fix crash when expanding "On this Computer" in mailer
- Date: Tue, 24 Feb 2004 22:18:57 +0800
On Tue, 2004-02-24 at 09:11 -0500, Rodney Dawes wrote:
> On Tue, 2004-02-24 at 00:43, Not Zed wrote:
> > On Tue, 2004-02-24 at 00:52 -0500, Rodney Dawes wrote:
> >
> > > This patch fixes the much disputed crashing in the treeview without
> >
> > I'm not sure this patch will affect the issue anyway, since its got
> > nothign to do with subfolders, empty or otherwise. Only the top-level
> > folder being expanded by the code *while* the animation is still running
> > after the user expanded it.
>
> Hrmm. That doesn't seem right, since the if statement is recursing.
Which if?
I tracked the problem down to:
user clicks on arrow
gtk expands it, and starts an animation timeout to update it
the code then sets the state on that folder to expanded
gtk clears up some of the animation data, but doesn't remove the
timeout, and sets the animation to complete
the timeout runs later and causes the crash
> > > patching gtk+, as we are doing the wrong thing in camel also, when
> > > loading local folders that don't actually have children, but we force
> > > the CAMEL_FOLDER_CHILDREN flag even when the sub-directory is empty,
> > > or only contains files that we want to ignore (those that being with a
> > > period).
> >
> > Patch looks reasonable, although that flag should not be being set in
> > the first place really. There's a conflict with the recursive code vs
> > the non-recursive scanner.
>
> Here's another patch which just gets rid of the conflicting code then.
> The same things are still fixed.
Yeah but you can't do that, since its needed if you scan the folders one
level at a time, and not recursively, i think. The original patch was
fine :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]