[UMG] Disable button after press causes some issues

Developing for VR and making use lots of WidgetComponents. Just came across an issue when disabling a button after it was PRESSED (not clicked) that works out differently depending on the WidgetComponent you are on.
Was able to reproduce it in a blank project.
Issues: Buttons not highlight, not firing.

  1. Make a new project, shooter setup
  2. Add WidgetInteractionComponent (WIC) to the FirstPersonGun on the Character (or to the MotionControlerComponent of a VR project)
  3. Set up any button you like to make WIC->PressPointerKey(LeftMouseButton) and the same for ReleasePointerKey
  4. Create two Widgets, add some buttons to each
  5. Make each button fire a PrintString
  6. One button disables itself when PRESSED (not clicked)
  7. another button (same widget) reenables the button
  8. Make an Actor, add 2 WidgetComponents, set the 2 widgets
  9. Place the actor in the world
  10. play
  11. press the buttons that disables itself
  12. see how no button is highlighting anymore
  13. press a button on the SAME WidgetComponent as the disabled button - button will fire. Everything is working again (highligthing/pressing)
  14. reenable the button
  15. press the button that disables itself
  16. see how no button is highlighting
  17. press a button on the OTHER WidgetComponent
  18. see how the button animation for press is drawing but the string is not printing
  19. press the button again and again WITHOUT leaving it!
  20. see how nothing does happen
  21. leave that button, everything is back to normal (highlighting/pressing)

Issues does not appear when the button that disabled itself is disabled ON CLICK.



After running some tests and doing some digging I was able to find that this is a known issue. I have provided a link to the public tracker below. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-20311)

Make it a great day