graesslin created this revision. graesslin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY So far ConnectionThread dispatched events without checking for (protocol) errors. But Wayland errors are considered fatal. We do need to consider them. This change introduces a way to detect errors and expose them in ConnectionThread. Errors are handled gracefully, they are exposed, but not considered application fatal. E.g. a new ConnectionThread could be created afterwards. This allows to add tests to verify error conditions. REPOSITORY rKWAYLAND KWayland BRANCH connection-error-handling REVISION DETAIL https://phabricator.kde.org/D1753 AFFECTED FILES autotests/client/CMakeLists.txt autotests/client/test_error.cpp src/client/connection_thread.cpp src/client/connection_thread.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma Cc: plasma-devel, sebas
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel