• 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: NSShadow changes on 10.5.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSShadow changes on 10.5.2?


  • Subject: Re: NSShadow changes on 10.5.2?
  • From: João Pavão <email@hidden>
  • Date: Fri, 15 Feb 2008 10:36:38 +0000

I had the impression that there was an NSShadow bug only on 10.5.0 thru 10.5.1. My shadows looked great on 10.4.x, and I had to add a check to draw them with an extra 1pt offset on leopard to account for that bug. This made them look exactly the same both on tiger and on leopard.

It looks like they fixed the bug on 10.5.2, so I ended up removing all of those checks and now draw all shadows using the same values on any release of OSX and they look the same to me, both on tiger and leopard.

The thing is, the app I'm working on hasn't been released yet, so it was a no brainer to make the change. I thought Apple would only fix this on 10.6 and leave it as it is through the entire life of 10.5, in order not to break the looks of any already released apps. Looks like they think it's ok to break all this stuff already being used out there. :-/
--
João Pavão




On 2008/02/14, at 23:19, Jim Correia wrote:

On 10.5.2, it appears that NSShadow has changed so that the shadow draws at the offset sent to -setShadowOffset:.

In places where I was using NSShadow in the user interface for subtle visual effects, the shadow is now drawn at a different offset than on 10.4.x (and 10.5.0-1). In some cases this makes the visual effect look bad, because I had tuned the offset so that it looked good, not because of any particular fondness for the actual values.

While I can't do anything about the binaries already shipped, I'd like to fix my current source base. I still need to support (and look good) on Tiger.

Can someone share what the mapping between input offset and rendered shadow location was previous to 10.5.2?

(I grabbed a few sample points, but I'm not seeing an obvious mapping function.)

Jim
_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: NSShadow changes on 10.5.2?
      • From: Uli Kusterer <email@hidden>
References: 
 >NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Changing app menu title programmatically
  • Next by Date: Re: Strategies to prevent class name clashes
  • Previous by thread: Re: NSShadow changes on 10.5.2?
  • Next by thread: Re: NSShadow changes on 10.5.2?
  • Index(es):
    • Date
    • Thread