https://bugs.kde.org/show_bug.cgi?id=340477

--- Comment #1 from Ismael Asensio <isma...@gmail.com> ---
Git commit f397f072df1ed7476dc7cf907775d93575e42625 by Ismael Asensio.
Committed on 28/10/2020 at 20:41.
Pushed by iasensio into branch 'master'.

Reply a meaningful dBus error when detecting unmanaged windows

Currently, the method `createErrorReply()` with empty strings
errors out and the client gets no answer:
```
QDBusConnection: error: could not send error message to service "":
Error name cannot be empty
```

Simple test:
qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole
qdbus org.kde.KWin /KWin org.kde.KWin.queryWindowInfo

Error name uses D-Bus Interface-like notation as suggested in
https://doc.qt.io/qt-5/qdbuserror.html#name

M  +3    -1    dbusinterface.cpp

https://invent.kde.org/plasma/kwin/commit/f397f072df1ed7476dc7cf907775d93575e42625

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to