Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DataBrowser redraw problem



On 10/29/05 4:53 AM, Laurence Harris didst favor us with:

> This is a little complicated, so bear with me while I describe the setup. I'm
> working on a new window, which is both composited and has an HIToolbar
> containing only standard toolbar items (no custom items), and contains a
> variety of widgets in it including a couple of DataBrowsers. No problems here.
> 
> Clicking a button in this window opens a progress window and starts a process.
> When to process is done, in one case a sheet is shown from the progress window
> to display a result. Both of these windows are composited as well, and
> everything works as expected.
> 
> It's possible for the progress window to complete immediately, which means the
> sheet can appear immediately. This is fine as well. What's not fine is that if
> the toolbar in the first window is showing and the sheet appears immediately,
> the DataBrowsers in the first window get confused and draw themselves in the
> wrong place in the window (although not always in the same wrong location).
> Hiding the toolbar doesn't really help, though it causes the DataBrowsers to
> draw in different locations.
> 
> The problem does not occur if I use a regular window instead of a sheet to
> display the results,

Further testing shows the problem is still there when not using a sheet, so
it seems to be some kind of confusion occurring when the results window
appears too quickly. I'm thinking its immediate appearance throws off the
DataBrowsers somehow when they're redrawing in response to the deactivation
of their window, but I don't know the best way to work around it.

Larry

> and it doesn't occur if the sheet doesn't show
> immediately (even a second later is enough). No other controls/views in the
> window exhibit the problem. Any thoughts other than "sounds like a bug in
> DataBrowser?"
> 
> Larry 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >DataBrowser redraw problem (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.