stefansundin / vlc-protocol

Open vlc:// links directly from your web browser.
https://tinyurl.com/hv8d778
GNU General Public License v3.0
194 stars 41 forks source link

[mac] VLC player window opens behind the browser window #1

Closed marian-c closed 7 years ago

marian-c commented 7 years ago

First of all, thanks for this!

I've been using the mac version of this and works as expected with this small exception.

Could this be related to the opener app?

stefansundin commented 7 years ago

Hello, thanks for using it.

I have also noticed that VLC usually opens behind other windows.

It might be because of this: http://stackoverflow.com/questions/4928393/launch-an-nstask-and-bring-it-to-front#4928659

stefansundin commented 7 years ago

Okay, I tested NSWorkspace and it seems to do the job. Give it a try.

https://github.com/stefansundin/vlc-protocol/commit/5d2e8e17d762885ae7768862cf18307228a0c7ac

marian-c commented 7 years ago

Many thanks :)