Closed palinek closed 5 years ago
@luis-pereira please, take a look into the cmake part
Works amazing. Panel freezes only for QTXDG_DBUSACTIVATE_TIMEOUT amount of time and doesn't crash, in the background 25 sec later
error sending Activate message to application: Timeout was reached
GTM
unblocked for debian buster
For case when the DBusActivatable application is unresponsive the startDetached() can block for a long time (the Qt default 25s DBus timeout). Blocking can't be avoided while using QDBusInterface, because the object can block directly in its contructor.
So we use the generated interface class and set the timeout for the DBus call to 1500ms (can be overriden env variable QTXDG_DBUSACTIVATE_TIMEOUT).
See also: https://bugreports.qt.io/browse/QTBUG-75016
fixes #181