Apple Bug Friday! 50
This bug is Setting a non-opaque window’s hasShadow to NO does not completely un-shadow it. It was filed on 2007-02-16 at 20:23 PST.
Summary:
A window whose hasShadow is set to NO before it is ordered in has no shadow whatsoever, whereas a window whose hasShadow is set to NO after it is ordered in has merely a weaker shadow.
Steps to Reproduce:
- Create a window.
- Set its opaque to NO.
- Set its backgroundColor to a color whose alphaComponent < 1.
- Order it in.
- Set its hasShadow to NO.
Expected Results:
The window ceases to have any shadow whatsoever.
Actual Results:
The window’s shadow weakens, but does not completely go away.
Regression:
Unknown.
Notes:
Test app:
One window is ordered in with a shadow; the other is not (that checkbox is unchecked in the nib). Uncheck the box in the shadowed window, and compare it to the never-been-shadowed window.
The test case is SliderWindowAlphaTest 1.1.