One of my favorite things about OSX is the fact that applications rarely / never are allowed to steal focus.
Granted this was an edge case and is not the norm. It was still a pretty horrid UX.
A much better solution is a notification, which is what Windows and KDE do.
> never are allowed to steal focus
How are they not 'allowed'? Because it is certainly allowed. Just about every app steals focus.