UMG 4.5 preview mouse/focus questions

Hey, great work on UMG so far.

I quickly tested UMG in 4.5 and it has the keyboard/mouse focus issues fixed as far as I can see however I have some questions regarding mouse/focus.

  1. How can I make it so that the mouse automatically gets shown when the UI is added to the viewport (like it was with modal UMG in 4.4)
  2. How can I prevent the user to use the TAB key to focus specific widgets like border panels
  3. How can I modify the visual of the dotted line shown after you press TAB key
  4. How can I make it so that the mouse gets automatically hidden once the UI is removed from the viewport again (and not only after clicking once)

Thanks:)

To answer myself which might help others:

  1. You need to use SetInputMode of player controller and need to call SetKeyboardFocus of the UI widget in blueprint. However there is a bug that SetKeyboardFocus does not work in BeginPlay but using a delay node before showing the UI is still a valid workaround.
  2. Probably not yet implemented. Would be nice if this can be polished in the future.
  3. Same as 3
  4. You need to call SetInputMode of player controller again and set it to GameOnly.

So yea with all that 4.5 has indeed fixed the mouse/focus issues which existed in 4.4 which is awesome.