Package: libqtxdg / 3.3.1-2

Metadata

Package Version Patches format
libqtxdg 3.3.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
avoid dbus freeze.patch | (download)

src/qtxdg/CMakeLists.txt | 10 10 + 0 - 0 !
src/qtxdg/dbus/org.freedesktop.Application.xml | 25 25 + 0 - 0 !
src/qtxdg/xdgdesktopfile.cpp | 43 37 + 6 - 0 !
3 files changed, 72 insertions(+), 6 deletions(-)

 [patch] xdgdesktopfile: avoid freeze for dbusactivatable apps

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 constructor.

So we use the generated interface class and set the timeout for the DBus
call to 1500ms (can be overridden env variable QTXDG_DBUSACTIVATE_TIMEOUT).

See also: https://bugreports.qt.io/browse/QTBUG-75016