Re: Lion - CopiesOnScroll Bug with table view
Re: Lion - CopiesOnScroll Bug with table view
- Subject: Re: Lion - CopiesOnScroll Bug with table view
- From: Seth Willits <email@hidden>
- Date: Fri, 19 Aug 2011 12:14:04 -0700
Sweet. Thanks.
It turned out to be non-integral frame of the scrollview's content view. Oddly, the scrollview itself had an integral frame, and it's the scrollview's frame that I set to be non-integral accidentally, through my custom split view. The non-integral numbers comes from the mouse dragged event. I noticed this somewhere else; it seems that mouse dragged events now have fractional values in Lion.
-- Seth
On Aug 19, 2011, at 9:48 AM, Raleigh Ledet wrote:
> A) Does the scrollview overlap your side view by a pixel or more?
> B) What is the frame of the scrollview? Is it integral?
>
> -raleigh
>
>
> On Aug 18, 2011, at 5:23 PM, Seth Willits wrote:
>
>>
>> I have an NSTableView in a scrollview, and on Lion it's now smearing all of the drawing when scrolling:
>> http://sethwillits.com/temp/upshot/upshot_nHnDbrLB.jpg
>>
>>
>> Some things to note:
>>
>>
>> A) This doesn't happen on Snow Leopard
>> B) Yes, I am using a custom cell in the table view, but using a standard NSTextFieldCell has the same problem
>> C) [[tableView enclosingScrollView] setCopiesOnScroll:NO] "fixes" it
>> D) copiesOnScroll is YES on Snow Leopard
>> E) For some reason it seems to only happen when scrolling new rows in from the top (scrolling up)
>>
>>
>> Any ideas? I'm really stumped on why this is broken all of a sudden.
>>
>>
>> --
>> Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden