From 99ad6a51a595430c75323c4d5c2ecbc7fbd8d7f0 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Thu, 5 Jun 2025 09:39:33 +0200 Subject: [PATCH] a11y atspi: Warn on unimplemented Application iface method As already happens in the implementation for the handling of all other AT-SPI interfaces (called from AtSpiAdaptor::handleMessage), also warn when an unimplemented/unknown method gets called for the Application interface: increase log level to warn and align message with the one used for the other interfaces, so this can be more easily identified. Task-number: QTBUG-137344 Pick-to: 6.10 Change-Id: I33d3811fd34ca0f9f4b1ab9d809f505c12c6517c Reviewed-by: Volker Hilsheimer --- src/gui/accessible/linux/atspiadaptor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/accessible/linux/atspiadaptor.cpp b/src/gui/accessible/linux/atspiadaptor.cpp index 6978d5c0268..6154af00950 100644 --- a/src/gui/accessible/linux/atspiadaptor.cpp +++ b/src/gui/accessible/linux/atspiadaptor.cpp @@ -1534,7 +1534,8 @@ bool AtSpiAdaptor::applicationInterface(QAccessibleInterface *interface, const Q QDBusMessage reply = message.createReply(QVariant::fromValue(QLocale().name())); return connection.send(reply); } - qCDebug(lcAccessibilityAtspi) << "AtSpiAdaptor::applicationInterface " << message.path() << interface << function; + qCWarning(lcAccessibilityAtspi) << "AtSpiAdaptor::applicationInterface does not implement" + << function << message.path(); return false; }