Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135489

[REG 6.8.2->6.8.3] Handling of custom scheme URL is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8.3, 6.9.0
    • QPA: Android
    • None
    • Android
    • 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

        For Gerrit Dashboard: QTBUG-135489
        # Subject Branch Project Status CR V

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            janmoeller Jan Möller
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change