If the game focus was set to game only (such as the start of a default project) and then the user sets Show Mouse to true then the hover events will not fire until the user clicks.

Steps to Reproduce
  1. Open the Editor
  2. Select the First Person Shooter Template and Open Project
  3. Create a new Widget blueprint
    Right click content browser > User Interface > Widget Blueprint
  4. Add a button to the designer tab
  5. Compile and save
  6. Open the level blueprint
  7. Add the widget to the viewport
    Event begin play > Create widget > Add to viewport
  8. Open First person character
  9. Set up the "Set Show Mouse Cursor" to toggle on and off with the 'T' Key
    'T' Key pressed > Flip Flop > Get player Controller > Set show mouse cursor (set to True) > Set show mouse cursor (set to false)
  10. Play in Editor
  11. Click to shot to make sure the focus in on Game
  12. Press the 'T' key
  13. Hover over the button with out clicking
  14. Notice the button does not change to the hovered state

Have Comments or More Details?

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

Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.
CreatedMay 11, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021