From ae883aaa2d29648832c66a0d73f2c7925b9467da Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 28 Oct 2020 21:06:16 +0200 Subject: [PATCH] Include cursor theme name and size in support info It might be useful while triaging cursor related issues. --- workspace.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index ebce832d1c..64da466f21 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1480,6 +1480,13 @@ QString Workspace::supportInformation() const support.append(kwinApp()->platform()->supportInformation()); support.append(QStringLiteral("\n")); + const Cursor *cursor = Cursors::self()->mouse(); + support.append(QLatin1String("Cursor\n")); + support.append(QLatin1String("======\n")); + support.append(QLatin1String("themeName: ") + cursor->themeName() + QLatin1Char('\n')); + support.append(QLatin1String("themeSize: ") + QString::number(cursor->themeSize()) + QLatin1Char('\n')); + support.append(QLatin1Char('\n')); + support.append(QStringLiteral("Options\n")); support.append(QStringLiteral("=======\n")); const QMetaObject *metaOptions = options->metaObject();