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

Regression in QDesktopServices::openURL on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      QDesktopServices::openURL() has become asynchronous under Wayland as of Qt 6.5.3. This breaks my application, which needs to sanitize some env vars before launching external programs. Previously it used to be synchronous under Wayland and is still synchronous under other platforms.

      The change to asynchronous was because of adding support for the wayland xdg activation token. 

      I need either some way to globally set the env vars QDesktopServices will use for openURL for an API that sets a callback when openuURL is actually ready to start the QProcess. Ideally the callback should be passed the QProcess object or a QProcessEnvironmnet object so it can modify the environmnet as it wants.

       

       

       

      Attachments

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

        Activity

          People

            ilya-fedin Ilya Fedin
            kovidgoyal Kovid Goyal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes