Here is a build of my Cocoa flicker app without Juce. The window is resizable, larger = more chance of flicker. Weirdly enough with that I only get the flicker if the window is not topmost. I get quite a lot of the flicker if I move another window around.
If my JUCE based plugin would only get this amount of flicker I would already be happy. With the JUCE flicker example I sometimes also get heavy flickering if the window is topmost.
Maybe OSX does not realize a JUCE window is topmost and therefore doesn't stop flickering :O.. just joking.
This is really strange as I can't seem to re-produce your problem on my machine (with or without JUCE). It can't be a pure JUCE problem as your non-JUCE app shows the same behaviour. Looking at the forum posts, could it be that this bug is only related to ATI/AMD graphics cards? I did a quick google research and all the Mac models mentioned in this thread seem to have a AMD/ATI graphics card. Also my mac has an Intel GPU and it doesn't show this behaviour.
No, mine has a NVidia GT650M, so it's not limited to ATI. It might be somehow related to graphic card switching. In my experience there are multiple problems with GPU switching and Yosemite. I also get weird drawing glitches and odd frames when waking from sleep depending of GPU switches.
It's good to hear this does not happen very often. I am currently running a beta test and no one has reported the issue, so it appears to be rare.
I see it in many apps now, it's hard to notice. Somehow JUCE-based apps appear to be affected more often and it's just easier to spot the problem there and that probably leads to suspecting JUCE as the source of the problem, which it isn't.
I also found OS X discussions online in the meantime where people complain about the issue totally unrelated to JUCE. Just search for "Yosemite redraw glitches". Apparently having multiple displays makes things really bad, but I haven't done that in a long time and still see the problems.
So maybe the best thing to do is to wait for OS updates ( or buy a different machine :P ).
So I have a beta tester running 10.10.5 on a Macbook with an Intel Iris Pro and he’s the only user who has flashing GUI elements… I know this is a really old thread… I was wondering if y’all ever found a solution or just figured it was a hardware issue?
Hmmmm we’ve tried so many different solutions to this problem. I thought we had finally nailed it. Just to be sure, which version of JUCE is the user using? Develop or master?