<div dir="ltr">Florian,<div><br></div><div>You are right. It does work on your app. I just downloaded it and tested it. So this definitely isn't a bug in PyQt.</div><div><br></div><div>The only thing I can think of is how we package our app versus how yours is packaged. </div><div><br></div><div>Yours uses a more standard approach in having all the libs and files in the .app bundle and your main "executable" is exposed.</div><div><br></div><div>Our app does this pyinstaller monolithic packaging. Our Electron Cash (and its parent app, Electrum) are both "monolithic" files in Contents/MacOS created by pyinstaller. Internally I believe this executable ends up unpacking all the files and re-executing itself as the unpacked version.</div><div><br></div><div>This could be the culprit -- and not any bug in PyQt!</div><div><br></div><div>Thanks so much for providing your app as an example. I feel I'm getting closer to solving this problem now.. I hope.</div><div><br></div><div>-Calin</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 24, 2018 at 11:54 PM Florian Bruhin <<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 24, 2018 at 11:23:56PM +0300, Calin Culianu wrote:<br>
> From our testing is appears the QFileOpenEvent never makes it to our<br>
> QApplication instance no matter what we do.<br>
<br>
This works fine for me FWIW:<br>
<a href="https://github.com/qutebrowser/qutebrowser/blob/v1.5.1/qutebrowser/app.py#L843-L854" rel="noreferrer" target="_blank">https://github.com/qutebrowser/qutebrowser/blob/v1.5.1/qutebrowser/app.py#L843-L854</a><br>
<br>
Florian<br>
<br>
-- <br>
<a href="https://www.qutebrowser.org" rel="noreferrer" target="_blank">https://www.qutebrowser.org</a> | <a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a> (Mail/XMPP)<br>
GPG: 916E B0C8 FD55 A072 | <a href="https://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">https://the-compiler.org/pubkey.asc</a><br>
I love long mails! | <a href="https://email.is-not-s.ms/" rel="noreferrer" target="_blank">https://email.is-not-s.ms/</a><br>
</blockquote></div>