Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8.3, 6.9.0
-
None
-
-
2025wk16s1QtforAndroid, 2025wk18s1QtforAndroid, 2025wk20s1QtforAndroid
Description
Registering custom scheme URLs using QDesktopServices::setUrlHandler() no longer works on Android with Qt 6.8.3. Previous version Qt 6.8.2 did not show any issues.
I've identified the commit https://codereview.qt-project.org/c/qt/qtbase/+/618970 as the cause for this problem.
As far as my understanding goes, the issues stems from QAndroidPlatformServices::handleNewIntent() not being called, as it will only be instantiated from QDesktopServices::openUrl() when the services() method is called.
Previously, QAndroidPlatformServices::handleNewIntent() would try to open the custom scheme URL via the QDesktopServices which called the custom handler registered with QDesktopServices::setUrlHandler().
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-135489 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
640701,6 | Android: Avoid lazy initialization of QAndroidPlatformServices | dev | qt/qtbase | Status: NEW | 0 | 0 |