Developer Notes

This is by design, focusable widgets have an option, is Focusable. Widgets, like buttons, who take focus force all keys to be released. For example, this is so if you click on textbox, you're no longer sending character input to the game. Buttons default to focusable so that they work with a controller. Clicking them with the mouse will give them focus though, so just change the buttons to not be focusable and they'll stop forcing the release of the buttons.

Description

If the user in holding down a key and then uses the mouse to click on a button in UMG it will cause the key to fire off it's released execution.

Steps to Reproduce
  1. Open the attached project
  2. Click play
  3. Hold Down the 'Q' key
  4. Click the big gray button (Make sure not to click the button before you hold down the key)
  5. Notice the text now says release

Have Comments or More Details?

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

0
Login to Vote

By Design
ComponentUE - Editor - UI Systems
Affects Versions4.7
Target Fix4.8
Fix Commit2530820
Release Commit2537020
CreatedJan 12, 2015
ResolvedMay 12, 2015
UpdatedApr 27, 2018
View Jira Issue