Tooltip not showing when process doesn't have focus



I was wondering, why did you choose not to display tooltips when the application is in the background?
I’m not sure what’s the behavior in OSX (Can someone check it out?), but in Windows, tooltips are displayed regardless of the application being focused or not and it makes sense; If the application had lost focus but is still showing, there’s no reason for the user to click on the window just to display some tooltip.

Will commenting out the second line in juce_tooltipWindow::getTipFor() cause any side effects?

if (c != nullptr && Process::isForegroundProcess() && ! Component::isMouseButtonDownAnywhere())



Well certainly on OSX inactive processes don’t interact with the mouse at all, but even on windows I don’t think I’d want to see tooltips popping up in an app that you’re not using!