Re: What changed in 10.10 scrollView / scrollPoint?
Re: What changed in 10.10 scrollView / scrollPoint?
- Subject: Re: What changed in 10.10 scrollView / scrollPoint?
- From: Graham Cox <email@hidden>
- Date: Thu, 20 Nov 2014 09:58:23 +1100
> On 20 Nov 2014, at 9:34 am, Gideon King <email@hidden> wrote:
>
> If I change the size of the document view in my scroll view (the main view which I have now expanded to fill the screen), and then use scrollPoint, it must trigger some sort of caching operation for the window. At that point, it chokes on the zero height view at the top of the window. Don’t ask me why - as far as I can tell this does not happen if the zero height view is at the bottom or on either side with zero width.
>
> Setting the height of the view to 1 did not fix the issue, but setting it to 2 did.
>
Sounds like a div-by-zero somewhere when trying to rasterize the view when caching it to a bitmap. Definitely a bug that should have a radar filed.
As a better workaround, can you hide (or temporariy remove) the unwanted view in full screen mode, rather than setting its height to 0?
--Graham
_______________________________________________
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