Details
Description
In qBittorrent we override QCoreApplication::event() for the macOS platform so we can observe QFileOpenEvent and handle our custom URI (magnet links).
We bundle a suitable Info.plist for this, which you can see here.
Our override is here.
Up until 6.7.3 this worked fine. Every time the user clicked on a magnet link in their browser, qBittorrent was launched and the magnet URI was loaded.
With 6.8.1/6.8.2 a QFileOpenEvent isn't emitted anymore for magnet links. So qBittorrent opens but doesn't load the magnet URI.
Some users noted that the following commits introduced the problem:
1. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=664c7ffb212eb898ed03f7b19c883400fa027b6b
2. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e8e881ba35fe7009961cbeb4b89efedc5371d5b5
Those fixed QTBUG-124340
Link to our bug: https://github.com/qbittorrent/qBittorrent/issues/22303