Even if the layer is set to SetTouchConsumed(true), the parent must be able to handle... 19/298019/14
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 29 Aug 2023 07:24:20 +0000 (16:24 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 5 Sep 2023 07:05:27 +0000 (16:05 +0900)
commit5ec43bab9c772ca2b1594e32433191b5961a16d2
tree7a7e4134703ad1d66beea5485b74644c93499ab6
parentcba9196c58522f5b153e6a3a07906ec49ee1b3bd
Even if the layer is set to SetTouchConsumed(true), the parent must be able to handle the interceptTouchEvent.

With the current logic, if a layer exists in the window and SetTouchConsumed of that layer is true, the touch cannot be intercepted even if the window is the root.

Change-Id: I25911f3fb2cfb7ce3e857e25ca2bcd04912f62c1
automated-tests/src/dali/utc-Dali-TouchProcessing.cpp
dali/internal/event/actors/layer-impl.cpp
dali/internal/event/actors/layer-impl.h
dali/internal/event/events/hit-test-algorithm-impl.cpp