[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally 88/257188/4
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 20 Apr 2021 18:26:44 +0000 (20:26 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Tue, 11 May 2021 09:13:53 +0000 (09:13 +0000)
commit2676a40c6aa784628b20c42052bae09e66284b88
treeedf0b7cd70924684619db367c518f9bf9ea5f59c
parent1aa4664f4f29a1de0f5ee55630b753b81a83d089
[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally

This patch fixes a bug where the screen reader is not notified about
changes of size / position / visibility of controls if accessibility is
enabled in runtime, i.e. after the controls are connected to the scene.

Please note that the callbacks registered with AccessibilityRegister()
already check Accessibility::IsUp(), therefore non-accessibility usage
scenarios are not affected by this patch.

Change-Id: Icc49b0a12a75135ca3d2033b342878b4ab1392bb
dali-toolkit/internal/controls/control/control-data-impl.cpp
dali-toolkit/public-api/controls/control-impl.cpp