On 28 Sep 2013, at 14:18, Quincey Morris <quinceymor...@rivergatesoftware.com> wrote:
> On Sep 27, 2013, at 23:39 , "Gerriet M. Denkmann" <gerr...@mdenkmann.de> > wrote: > >> My CustomView (aka DriftView) has no subviews at all. It only has a >> superview: the ScrollView. > > What I was trying to draw your attention to is that the backtrace tells you > that the dirty region is complex (i.e. not a simple rectangle) in that > scenario. Complex enough that it required 4 levels of recursion to produce > the 1-pixel update rect. > > If this is not the result of what's inside the view, then it presumably > results from what is over the view -- there may be invisible windows (not > necessarily belonging to your app) or something along that line. > Or perhaps you're using 3rd-party code that does a setNeedsDisplayInRect with > that small rect for some hinky reason of its own. No, this is not the case. > The fact that the dirty region ends up being like this is essentially an > implementation detail, not an indication of anything wrong, or of any state > that you need to be aware of. Right now there is another window completely obscuring the window with the DriftView. And I managed to reproduce the small rect: - hide the app - make the app active again (clicking the Dock-Icon) This produces: 2013-09-28 14:26:55.528 -- -[DriftView drawRect:] nice rect {{0, 0}, {1393, 189}}; visibleRect {{0, 0}, {1393, 189}} 2013-09-28 14:26:55.565 -- -[DriftView drawRect:] Ignore very small rect {{0, 0}, {1, 1}}; visibleRect {{0, 0}, {1393, 189}} Strange. But you are probably right and I should just ignore this. Kind regards Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com