Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3
-
None
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-119438 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
515131,4 | Simplify requestXdgActivationToken API | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |