mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Pre-release (mac): Magnet links open app but don’t process link (QTBUG-134316) Fixed via Qt 6.8.3+ #16618
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#16618
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lukemmtt on GitHub (Feb 19, 2025).
qBittorrent & operating system versions
qbittorrent: master branch
macOS: 15.3.0
What is the problem?
On mac, in the alpha build and master branch, clicking on a magnet link does not show a prompt or start the download. It opens the app, but nothing more. I observed this in my testing while preparing #22284.
Steps to reproduce
Validation:
@ShlomobCohen commented on GitHub (Feb 20, 2025):
This problem started after these two commits were applied to qtbase:-
github.com/qt/qtbase@664c7ffb21github.com/qt/qtbase@e8e881ba35Revert the above commits to test:-
git revert --no-commit 664c7ffb212eb898ed03f7b19c883400fa027b6b
git revert --no-commit e8e881ba35fe7009961cbeb4b89efedc5371d5b5
and recompile qt and the links should work as they should.
Not sure whether the above commits are broken or qBittorrent needs to be modified to handle the new scheme.
Hope this helps
@ShlomobCohen commented on GitHub (Feb 20, 2025):
The alpha build of qBittorrent uses qt-6.8.1.
The above mentioned commits are present in qt-6.8.1
https://github.com/qbittorrent/qBittorrent/issues/22303
@ShlomobCohen commented on GitHub (Feb 20, 2025):
https://github.com/qt/qtbase/commits/6.8.1/src/plugins/platforms/cocoa?after=0db4321f2f13c6870283f3fcc0f1a462fd7cf663+34
@xavier2k6 commented on GitHub (Feb 20, 2025):
@lukemmtt @ShlomobCohen macOS is barely supported as previously announced on our main website.
There are deprecations that have yet to be handled!
macOS related tickets
@lukemmtt commented on GitHub (Feb 20, 2025):
@xavier2k6 Thank you for the quick response. I completely understand the challenges with macOS support—in fact, I just finished contributing a macOS-specific fix (#22284, merged yesterday into master) when I discovered this magnet link regression during testing.
I filed this issue to track what appears to be a notable regression in core functionality between stable and master/alpha builds. While I hadn't conducted extensive testing beyond my initial observation, I thought it worth reporting promptly, especially as it wasn't immediately clear if this issue might affect more prominently-supported platforms than macOS.
While @ShlomobCohen's investigation now clarifies that this issue is indeed likely specific to macOS (thanks!), I believe tracking such regressions is valuable for the project regardless of platform. I'm currently tied up with other commitments, but wanted to ensure this was properly documented.
@xavier2k6 commented on GitHub (Feb 20, 2025):
Adding the relevant QTBUG-124340 report from @ShlomobCohen investigations.
@sledgehammer999 commented on GitHub (Feb 21, 2025):
Our Info.plist has a
CFBundleURLTypesentry for themagnetprotocol here.Maybe we're not installing it correctly?
@glassez commented on GitHub (Feb 21, 2025):
As per Qt commit description:
So maybe the problem is about
CFBundleURLSchemes?@sledgehammer999 commented on GitHub (Feb 22, 2025):
We define them too: https://github.com/qbittorrent/qBittorrent/blob/master/dist/mac/Info.plist#L41
Unless, we don't follow the Info.plist spec correctly.
@ShlomobCohen commented on GitHub (Feb 22, 2025):
I have recompiled qt reverting
github.com/qt/qtbase@664c7ffb21only.QBittorent worked with the magnet urls.
Which leads me to believe that whatever is breaking magnet urls lies with this commit:
github.com/qt/qtbase@e8e881ba35Hope this helps
@sledgehammer999 commented on GitHub (Mar 4, 2025):
I filed QTBUG-134316.
@sledgehammer999 commented on GitHub (Mar 9, 2025):
Apparently fixed upstream and will be available in Qt 6.8.3+
Until then I'll do the macOS releases based on the Qt 6.7 series.
@xavier2k6 commented on GitHub (Mar 9, 2025):
Due for release Tues 18th March
https://wiki.qt.io/Qt_6.8_Release
https://lists.qt-project.org/pipermail/releasing/2025-February/003046.html
Qt 6.9.0 - Scheduled for 25th March (RC is in a few days)
@xavier2k6 commented on GitHub (Mar 26, 2025):
@sledgehammer999 Qt 6.8.3 was released today, see https://download.qt.io/official_releases/qt/6.8/ & QTBUG-134316 is contained in the Fixes section of Qt 6.8.3 Release Notes