Hello !
Under Windows 7, it is possible to “pin” applications to the taskbar. When launching certain JUCE applications from such a shortcut, they seem to fail to gain the focus. The corresponding taskbar tab starts flashing orange, and if others Windows are displayed on the screen, the JUCE application’s window may be hidden behind them. I’ve also seen the problem when lauching a JUCE application by double-clicking on a file associated with an application (ie : double-click on *.jucer opens Introjucer.exe) When launched “normally” by double-clicking on the *.exe, or by lauching it from Visual IDE, with or without debugger, the problem does not show up.
I have the problem with one of my own juce app, and also with the Introjucer. JuceDemo and some others JUCE apps behave fine. So far, I wasn’t able to reproduce the problem with a simple Hello-World-like JUCE-app, so I really have no clue what my problematic app and the IntroJucer have in common…
Other annoying fact : the problematic apps only seem to have the problem only “sometimes”… For example : the Introjucer is behaving weird ; I reboot ; it behaves fine again, but now some other app is being odd. It seems to change at random…
Anyone else having that problem ? In particular with Introjucer ? Any idea ?
A few more info :
regarding JUCE version, I was using a version which is a few month old (definitely pre-quake), so the problem’s probably been here unnoticed for a while. I’ve updated to the tip, but it doesn’t change anything.
The problem shows up under Win7sp1 32 & 64 bit, compiled with Visual Studio 2008. The problematic JUCE app in which we noticed the problem is ported to Mac, but the Mac guys haven’t encountered the problem (which isn’t so surprising, since obviously the taskbar is OS dependent !) so it appears to be a Windows-specific issue…
I’ll keep investigating this… Anyone with an idea is more than welcome ! Tks in advance for your help !
Cheers !
Val