Re: Jiggling Shadow Offset
On 22 mai 2013, at 01:52, Seth Willits sli...@araelium.com wrote: Changing the blur radius has no affect on the offset. It still behaves the same way. I'm not sure why you think 0.5 would be any different. I believed that using 0.5 would solve the issue… because I have been there before. I should have mentioned that first, sorry. IMHO, what you are observing is a plain bug because there is no way using a blur radius of 0.5 can yield an always visible shadow when using a bigger 1.0 fails to do so. Yet, as you can see in the video I sent you, it works perfectly. Jean Tests have been performed on a regular up-to-date 10.8.3 MBP equipped with a 13 display. On May 21, 2013, at 3:44 PM, Jean Suisse wrote: Have you tried replacing shadow.shadowBlurRadius = 1.0; With: shadow.shadowBlurRadius = 0.5; It should work as expected. Jean On 22 mai 2013, at 00:11, Seth Willits sli...@araelium.com wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov --- Jean Suisse Institut de Chimie Moléculaire de l’Université de Bourgogne (ICMUB) — UMR 6302 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Jiggling Shadow Offset
How are you forcing the redraw? If you are using setNeedsDisplayInRect:, are you expanding the rect enough to cover the shadow? On 5/22/13 4:34 AM, cocoa-dev-requ...@lists.apple.com cocoa-dev-requ...@lists.apple.com wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Jiggling Shadow Offset
What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Jiggling Shadow Offset
Have you tried replacing shadow.shadowBlurRadius = 1.0; With: shadow.shadowBlurRadius = 0.5; It should work as expected. Jean --- Jean Suisse Institut de Chimie Moléculaire de l’Université de Bourgogne (ICMUB) — UMR 6302 On 22 mai 2013, at 00:11, Seth Willits sli...@araelium.com wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/jean.lists%40gmail.com This email sent to jean.li...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Jiggling Shadow Offset
Changing the blur radius has no affect on the offset. It still behaves the same way. I'm not sure why you think 0.5 would be any different. -- Seth Willits On May 21, 2013, at 3:44 PM, Jean Suisse wrote: Have you tried replacing shadow.shadowBlurRadius = 1.0; With: shadow.shadowBlurRadius = 0.5; It should work as expected. Jean On 22 mai 2013, at 00:11, Seth Willits sli...@araelium.com wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Jiggling Shadow Offset
On May 21, 2013, at 3:11 PM, Seth Willits wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov Test project: http://www.sethwillits.com/temp/ShadowOffset.zip -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Jiggling Shadow Offset
On May 21, 2013, at 4:56 PM, Seth Willits wrote: On May 21, 2013, at 3:11 PM, Seth Willits wrote: What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov Test project: http://www.sethwillits.com/temp/ShadowOffset.zip I have confirmed that this behavior is different between 10.7 and 10.8. I've had multiple people test this in addition to myself and on 10.7 the shadow offset jiggles and on 10.8 it always works as expected. So one way or another, this is a bug in OS X. If I use -1.001 for the Y offset, the shadow's y offset remains fixed as as the X offset changes which is good enough for my needs. I can't see a downside. Strange issue. I'll file a radar and see what they say. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com