[ATSPI] Fix for DefaultLabel 21/267321/10
authorLukasz Oleksak <l.oleksak@samsung.com>
Wed, 1 Dec 2021 11:48:17 +0000 (12:48 +0100)
committerLukasz Oleksak <l.oleksak@samsung.com>
Mon, 13 Dec 2021 10:47:47 +0000 (10:47 +0000)
commit473283e1ae49301fd20433dbfa41ac713da3ed4c
tree945442c33a914071b0108cf18587ea7b1fd6fe50
parent040904774b46f922f70f635e51b46c84c1b580bb
[ATSPI] Fix for DefaultLabel

Previously the call to GetDefaultLabelInfo() was delegated by bridge to
the corresponding Accessible object which computed the reply locally (by default returned self).
However default labels should be managed globally within given application.

This patch:

* replaces existing API AddPopup()/RemovePopup() by RegisterDefaultLabel()/UnregisterDefaultLabel()
  which has wider applicability (not only for popups)
* changes the logic of GetDefaultLabelInfo() to compute default label object globally

Related patches:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/267323/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/267375/

Change-Id: I68ccaf55835109139ba00e2204fcdfcf2627d403
dali/devel-api/adaptor-framework/accessibility-impl.h
dali/internal/accessibility/bridge/accessible.cpp
dali/internal/accessibility/bridge/bridge-accessible.cpp
dali/internal/accessibility/bridge/bridge-accessible.h
dali/internal/accessibility/bridge/bridge-base.cpp
dali/internal/accessibility/bridge/bridge-base.h
dali/internal/accessibility/bridge/dummy-atspi.cpp
dali/internal/accessibility/bridge/dummy-atspi.h