@PerLycke Thanks for the link. Most of the patch seems to be specific to Chromium but the call of `activateIgnoringOtherApps:`
https://developer.apple.com/documentation/appkit/nsapplication/1428468-activ...
might be worth experimenting with (at least it seems related to what we do but I'm not sure if it helps in this case). I'll try it when I have time.