FROM : Daniel Griscom
DATE : Sun Nov 04 16:49:41 2007
At 9:51 AM -0500 11/4/07, Raffael Cavallaro wrote:
>On Nov 4, 2007, at 7:55 AM, Bill Dudney wrote:
>
>>I went ahead and built a really simple app that has 2 buttons, one
>>is layer backed (labeled beeper) the other is not (labeled
>>rotate).
>>When you hit rotate the beeper button rotates an additional 15
>>degrees from where it is, when you hit beeper it beeps.
>>
>>The UI is ugly but its not mean to be an example of nice UI :)
>>
>>http://bill.dudney.net/roller/objc/resource/LayerBackedControls.zip
>>
>>Is the url to grab the project.
It was very kind of you, Bill, to whip up that demo, but...
>I don't know if anyone else is seeing this, but there's a bug in how
>the rotated button is drawn whenever its angle is some multiple of
>90 degrees:
Bingo!!
>270: text normal, button is a combination of the two above -
>orientation is off by 90 degrees (i.e., it's horizontal when it
>should be vertical, and its extent is only as wide as the button is
>tall. No rounded corners, just top and bottom borders.
I'm rotating by -90 degrees, but not surprisingly see the same thing.
>all other angles are correct, and this pattern repeats as you cycle.
This observation led to a successful workaround: instead of setting
the rotation to -90, set it to -89.999995 (the closest value to -90
that still dodges the bug). The results:
- Everything looks fine under Tiger
- Everything looks fine under Leopard, EXCEPT that the text within
the default button is blurry when not clicked. Very strange, but
tolerable when compared to the alternatives.
Raffael: have you reported this bug? If not, I will.
I'm going to burn a tech support incident to see if there's a better
workaround. I'll let you all know what I find out.
Thanks for the help,
Dan
--
Daniel T. Griscom <email_removed>
Suitable Systems http://www.suitable.com/
1 Centre Street, Suite 204 (781) 665-0053
Wakefield, MA 01880-2400
DATE : Sun Nov 04 16:49:41 2007
At 9:51 AM -0500 11/4/07, Raffael Cavallaro wrote:
>On Nov 4, 2007, at 7:55 AM, Bill Dudney wrote:
>
>>I went ahead and built a really simple app that has 2 buttons, one
>>is layer backed (labeled beeper) the other is not (labeled
>>rotate).
>>When you hit rotate the beeper button rotates an additional 15
>>degrees from where it is, when you hit beeper it beeps.
>>
>>The UI is ugly but its not mean to be an example of nice UI :)
>>
>>http://bill.dudney.net/roller/objc/resource/LayerBackedControls.zip
>>
>>Is the url to grab the project.
It was very kind of you, Bill, to whip up that demo, but...
>I don't know if anyone else is seeing this, but there's a bug in how
>the rotated button is drawn whenever its angle is some multiple of
>90 degrees:
Bingo!!
>270: text normal, button is a combination of the two above -
>orientation is off by 90 degrees (i.e., it's horizontal when it
>should be vertical, and its extent is only as wide as the button is
>tall. No rounded corners, just top and bottom borders.
I'm rotating by -90 degrees, but not surprisingly see the same thing.
>all other angles are correct, and this pattern repeats as you cycle.
This observation led to a successful workaround: instead of setting
the rotation to -90, set it to -89.999995 (the closest value to -90
that still dodges the bug). The results:
- Everything looks fine under Tiger
- Everything looks fine under Leopard, EXCEPT that the text within
the default button is blurry when not clicked. Very strange, but
tolerable when compared to the alternatives.
Raffael: have you reported this bug? If not, I will.
I'm going to burn a tech support incident to see if there's a better
workaround. I'll let you all know what I find out.
Thanks for the help,
Dan
--
Daniel T. Griscom <email_removed>
Suitable Systems http://www.suitable.com/
1 Centre Street, Suite 204 (781) 665-0053
Wakefield, MA 01880-2400
| Related mails | Author | Date |
|---|---|---|
| Daniel Griscom | Nov 3, 14:43 | |
| Daniel Griscom | Nov 4, 04:23 | |
| Bill Dudney | Nov 4, 13:55 | |
| Raffael Cavallaro | Nov 4, 15:51 | |
| Daniel Griscom | Nov 4, 16:49 | |
| Raffael Cavallaro | Nov 4, 18:01 | |
| listposter | Nov 5, 02:20 | |
| Bill Dudney | Nov 7, 06:29 |






Cocoa mail archive

