Thanks for your suggestion but it didn't work !
I have made a deeper investigation and finally find out what was causing this bug (Pako, if you're around you should read
When you run a program in "elevated" mode (run as admin), while you are using this program EG doesn't see any events that may occur in the meantime, that is why the "idle/unidle" events were not seen !
You can reproduce this bug anytime with any program, here's how to do it :
- in EG set an idle timer to 3 seconds for example,
- then run "Notepad" in elevated mode (run as admin),
- then start typing a text, and, stop typing for 3 seconds or more,
>> an idle event should be generated in EG, but it won't until you switch to another program.
Is there a way to fix this bug ? we should be able to trigger an event while using a program in elevated mode.