My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 164: NSView drawing problems
2 people starred this issue and may be notified of changes. Back to list
Status:  Assigned
Owner:  cocot...@gmail.com


Sign in to add a comment
 
Project Member Reported by cocot...@gmail.com, Sep 18, 2008
drawing issues with custom window content view set in IB, unknown details. views drawing and not 
drawing in a reproductible. possible opacity issue. just making a mental note here.
Sep 18, 2008
#1 sjmul...@gmail.com
I've logged the drawing calls of my custom views. CloneContentView is, obviously, the content view. TimlineView and 
AnimationView are two children of CloneContentView.

Log with notes:

2008-09-18 21:10:32.854 Dimp[2084] -[CloneContentView drawRect:] << Startup
2008-09-18 21:10:32.884 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:32.884 Dimp[2084] -[AnimationView drawRect:] 
2008-09-18 21:10:35.604 Dimp[2084] -[CloneContentView drawRect:] << Window resize
2008-09-18 21:10:35.604 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:35.604 Dimp[2084] -[AnimationView drawRect:]
2008-09-18 21:10:41.759 Dimp[2084] -[CloneContentView drawRect:] << Started animation in the AnimationView
2008-09-18 21:10:41.837 Dimp[2084] -[CloneContentView drawRect:]
2008-09-18 21:10:41.854 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:41.854 Dimp[2084] -[AnimationView drawRect:]
2008-09-18 21:10:41.868 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:41.868 Dimp[2084] -[AnimationView drawRect:]
... (repeat these two lines for a while)
2008-09-18 21:10:42.557 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:42.557 Dimp[2084] -[AnimationView drawRect:]
2008-09-18 21:10:42.571 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:42.571 Dimp[2084] -[AnimationView drawRect:]
2008-09-18 21:10:42.587 Dimp[2084] -[TimelineView drawRect:]
2008-09-18 21:10:42.587 Dimp[2084] -[AnimationView drawRect:]
2008-09-18 21:10:42.587 Dimp[2084] -[CloneContentView drawRect:] << Stopped animation in AnimationView
2008-09-18 21:10:42.682 Dimp[2084] -[CloneContentView drawRect:]

At the point where this log ends, the only thing visible was the content view. Of course, these are just 3 of the views on 
the form. Other views were flashing on and off too.

Other notes:
 - builtin views and custom views have this alike, even though for some reason my NSSegmentedControl never 
disappears
 - some views are nested within other subviews, others are not.
Sep 18, 2008
#2 sjmul...@gmail.com
Oops: "Of course, these are MORE THAN just 3 of the views on the form."
Sign in to add a comment

Powered by Google Project Hosting