Description

There is an issue with the checkbox taking input when the visibility is set to "Self Hit Test Invisible". It should not be taking input as it should have the same properties as "Hit Test Invisible", which works as intended with the CheckBox. This issue does not affect other components. This issue is not a regression

Versions Tested: Issue occurs in all version tested
4.16.3 - CL: 3561208
4.17.2 - CL: 3658906
4.18.0 - CL: 3709383

Steps to Reproduce
  1. Create a new project (no template or starter content needed)
  2. Create a new widget blueprint > name it TestBP > open TestBP
  3. delete the canvas panel and add a button to be the new root of the widget
  4. make a checkbox a child of the button
  5. In the details panel of the checkbox under style set the CheckBox Type to "Toggle Button"
  6. Set the visibility of the checkbox to "Hit Test Invisible"
  7. In the Event Graph for the widget print a string when the button is pressed
  8. Compile the widget blueprint > Save the widget blueprint
  9. In the level blueprint create TestBP and add it to the viewport
  10. Compile and Save the level BP
  11. PIE and press the button (Expected Result)
  12. In TestBP set the visibility of the CheckBox to "Self Hit Test Invisible"
  13. Compile the widget blueprint > Save the widget blueprint
  14. PIE and press the button
    Result: The checkbox steals input and the button cannot be pressed
    Expected Result: The checkbox does not steal input and the button underneath is pressed

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

4
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.16.34.17.24.18
CreatedNov 9, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021