Description

When HitTest(Self/Child) is disabled in RetainerBox, the child widget is assumed to not fire all hit test events. However, in this case, the hit test event is fired in the child widget. This is an insufficient effect of the "Not Hit-Testable (Self&All Children)" setting on RetainerBox. The workaround are to add a CanvasPanel or Overlay to the RetainerBox child widgets and set "Not Hit-Testable (Self&All Children)" to Visibility for the widget, or disable retainer rendering. 

Steps to Reproduce
  1. Open the repro project in editor
  2. Play in editor
  3. Move the mouse cursor over the button widget

Result:

HitTest(Self/Child) is disabled in RetainerBox, but OnHovered event is detected and logged in child widgets.

Expected:

Not trigger OnHovered event.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-203701 in the post.

0
Login to Vote

Fixed
ComponentUE - Editor - UI Systems - UMG
Affects Versions5.3
Target Fix5.4
Fix Commit29961984
CreatedJan 11, 2024
ResolvedJan 22, 2024
UpdatedFeb 13, 2024
View Jira Issue