Window Shadow
-
Hi all,
I have a problem with shadows on transparent windows:
I create a fullscreen borderless transparent window with a view (an
object derived from NSView) in the center and I don't want to have a
shadow on it.
[self setBackgroundColor: [[NSColor blueColor]
colorWithAlphaComponent:0.0]];
[self setAlphaValue:1.0];
[self setOpaque:NO];
[self setHasShadow:NO];
(self = myWindow)
When I launch my application, all is ok (ther isn't shadow); but if I
go to another virtual desktop (I use 'Spaces' from Mac OSX ), when I
come back to the first screen, my view has a shadow.
Do you have an idea (maybe it's a Mac OS bug...)?
Regards
Matthieu -
On Sep 29, 2008, at 10:55 AM, Matthieu Campion wrote:
> When I launch my application, all is ok (ther isn't shadow); but if
> I go to another virtual desktop (I use 'Spaces' from Mac OSX ), when
> I come back to the first screen, my view has a shadow.
> Do you have an idea (maybe it's a Mac OS bug...)?
If it's not a bug, it's a misbehavior. I don't think there's any
reason to expect this to happen, so I'd file it as a bug:
http://bugreport.apple.com/
--
I.S.



