I think it is this:
Or is it due to the MC program being already open and running (instead of the gadget launching/starting MC)?
Here is how I am able to replicate the problem:
Close MC window and exit via media server tray icon.
Make sure no MC task is running via task manager and gadget is showing "not connected."
Connect gadget.
Wait until gadget shows stopped.
Start playing via play button on gadget.
Show Media Center via Tray Icon.
Focus problem occurs.
As far as I can tell, if MC is started *before* the gadget connects, then everything is okay--I have not extensively tested this, but I think that's the issue. I also tried it using the same steps as above, but starting playback in the MC window instead of in the gadget and it did the same thing (focus problem).
I normally run media server at startup, but I am using WinPatrol to do a delayed start. So when I had "connect at startup" enabled in the gadget, it was launching the MC process before my delayed startup process could run and I would have the focus problem.
Now that I changed the gadget to not connect on startup, it allows media server to start the MC process on its own, and then connecting the gadget to an already running MC does not trigger the problem.
Maybe an option in the gadget for "Connect when MC is running" would be better than having the gadget launch MC?
This is all with MC12, by the way.