[AT-SPI] Exclude highlight frame from ShouldReportZeroChildren 15/254315/6
authorArtur Świgoń <a.swigon@samsung.com>
Fri, 26 Feb 2021 08:53:27 +0000 (09:53 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Thu, 25 Mar 2021 08:12:00 +0000 (09:12 +0100)
commit2d1419df191ff48350890ba8a9c52d697800e93d
treed36cd8a5e2c78b35d12440c178807143d1c8dc44
parentf7c2373e60fa8997a5c1d6d045aa62c56d234982
[AT-SPI] Exclude highlight frame from ShouldReportZeroChildren

When ShouldReportZeroChildren() returns true, any children of a given
actor are not displayed in the AT-SPI tree. This is good for composite
NUI controls (e.g. Button) so that they are displayed as a single entity
and not a relatively large subtree.

However, this introduces an inconsistency that the highlight frame actor
is sometimes also removed from the AT-SPI tree. This patch makes sure
the highlight actor is always reported.

Change-Id: I5e75af93289d9aca819a2cffeebd543a9270a9ca
dali-csharp-binder/src/accessible-impl-nui.cpp