On Sep 27, 2013, at 22:05 , "Gerriet M. Denkmann" <gerr...@mdenkmann.de> wrote:

> The backtrace does offer me no clues:
> 
> #1: 0x00007fff8d0f2140 AppKit`-[NSView _drawRect:clip:] + 4437
> #2: 0x00007fff8d0eefb3 AppKit`-[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 3058
> #3: 0x00007fff8d0efa44 AppKit`-[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 5763
> #4: 0x00007fff8d0efa44 AppKit`-[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 5763
> #5: 0x00007fff8d0efa44 AppKit`-[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 5763
> #6: 0x00007fff8d0efa44 AppKit`-[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 5763

The backtrace does in fact offer clues. Your view needs redrawing, and the 
frameworks are breaking down the dirty region into non-overlapping component 
rects that are drawn separately. It just happens that this decomposition 
process leaves a tiny rect to be drawn separately.

As to why it decomposes this way, my guess would be that your view has subviews 
(and/or controls) which are misaligned by a single pixel, changing what would 
otherwise be a nice rectangular dirty region into something slightly more 
complex.

_______________________________________________

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

Reply via email to