[AT-SPI] Fix not working screen reader when rerunning it 95/271295/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 29 Nov 2021 08:02:20 +0000 (17:02 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 18 Feb 2022 02:31:20 +0000 (11:31 +0900)
commit9112005f3adf24ccb219fe6bca4401e42a5ccf4f
tree93da4f2f9f4248799bf1a7b03b966a0909191114
parent7a6b672c7be2bf382fb82034511c10f7608242e7
[AT-SPI] Fix not working screen reader when rerunning it

[Reproduce Steps]
 1. Screen Reader ON
 2. Run any application
 3. Turn Screen Reader OFF
 4. Turn Screen Reader ON

- It is caused by NULL windowAccessible which is returned
 by following function used by EmitActivate()
 Dali::Accessibility::Accessible* GetWindowAccessible(Dali::Window window)

- Connected Enabled / Disabled signals to Window
 so that Window can add and remove itself from bridge
 when the state of bridge changes.

Change-Id: I3bdebedd7bf4f9017d24b72999412a0f70cfd24b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/accessibility/bridge/bridge-impl.cpp
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h