aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4qobjectwrapper.cpp
diff options
context:
space:
mode:
authorMohammadHossein Qanbari <[email protected]>2025-03-18 16:43:48 +0100
committerMohammadHossein Qanbari <[email protected]>2025-03-24 16:14:02 +0000
commit38f5768bcd49be5e500b31a255e56cc27ad3bc08 (patch)
tree4b6e96e652026574c3513a1f54f4c90936d6c982 /src/qml/jsruntime/qv4qobjectwrapper.cpp
parent55879a6d1a5b4bd8cb4909e9741fc4de7eb36193 (diff)
Accessibility: Prevent false signal emissions
The QQuickAccessibleAttached was connecting valueChanged() and cursorPositionChanged() signals without checking if the corresponding accessible value/text interface were implemented. This caused: 1. False QAccessibleEvent emissions for properties without backing accessibility interfaces 2. Warnings about missing interfaces when accessibility tools tried to access unimplemented features The fix adds interface checks before connecting signals. This prevents event generation for properties without proper accessibility support. Added test case (tst_QQuickAccessible::quickAttachedProperties) verifies no signal emissions when interfaces are missing. Fixes: QTBUG-133564 Change-Id: I01f62926322aa52dccffe6255a3a4b653d311b31 Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
0 files changed, 0 insertions, 0 deletions