I have an AIR application with a system tray icon. When you click on it, the application is displayed and activated. This works as expected when the application is hidden (docked), however, if I select another application so that my application is in the background, clicking on the icon in the taskbar does nothing.
Oddly enough, I also have a context menu on the icon in the system tray, in which there is a recovery option that calls the same event handler as ScreenMouseEvent.CLICK, but it works.
I expect that this has something to do with the context menu that changes focus, maybe this is a mistake in how AIR works with the system tray, maybe this is just what I am missing. It would be nice to know if this is the case.
Thanks in advance
Rob
source share