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

Regression in QDesktopServices::openURL on Wayland

XMLWordPrintable

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

      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.

       

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes