Re: NSWindow - flickering shadow during height animation (borderless, transparent)

2013-05-02 Thread Robert Vojta
Okay, so, here's the solution … The problem was in this … Wrong way I was listening for contentView frame changes (NSViewDidChangeFrameNotification) and I was calling display/invalidateShadow whenever I receieved this notification. Correct way NSWindowDelegate has windowDidResize notification

Re: NSWindow - flickering shadow during height animation (borderless, transparent)

2013-04-23 Thread Robert Vojta
On Wednesday, 24. April 2013 at 1:28, Ken Thomases wrote: Hi Ken, > It's not clear if you tried to use [self invalidateShadow] instead of all > three lines or just instead of the last two. The shadow shape is computed > from the visible content of the window. That's why there's a call to -disp

Re: NSWindow - flickering shadow during height animation (borderless, transparent)

2013-04-23 Thread Ken Thomases
On Apr 23, 2013, at 5:55 AM, Robert Vojta wrote: > I do use borderless & transparent NSWindow with shadow. The way I do > initialize this window is at the end of this email. I experienced lot of > problems with shadow, but found in Apple examples that the only way to fix > shadow (= read to dis

NSWindow - flickering shadow during height animation (borderless, transparent)

2013-04-23 Thread Robert Vojta
Hallo all, I do use borderless & transparent NSWindow with shadow. The way I do initialize this window is at the end of this email. I experienced lot of problems with shadow, but found in Apple examples that the only way to fix shadow (= read to display it correctly) is to call … [self displ