• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What changed in 10.10 scrollView / scrollPoint?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >What changed in 10.10 scrollView / scrollPoint? (From: Gideon King <email@hidden>)
 >Re: What changed in 10.10 scrollView / scrollPoint? (From: Graham Cox <email@hidden>)
 >Re: What changed in 10.10 scrollView / scrollPoint? (From: Gideon King <email@hidden>)

  • Prev by Date: Re: What changed in 10.10 scrollView / scrollPoint?
  • Next by Date: Making the Versions Browser less of a dog
  • Previous by thread: Re: What changed in 10.10 scrollView / scrollPoint?
  • Next by thread: Re: What changed in 10.10 scrollView / scrollPoint?
  • Index(es):
    • Date
    • Thread