Developer Notes

We're going ahead and deprecating bDefaultViewportMouseLock and it's associated bools when changing the input mode of the UI, and switching over to controlling mouse lock with an enum value. bDefaultViewportMouseLock will now map over to only locking the mouse to the viewport while the viewport has mouse capture, and locking the mouse to the viewport always will need to be explicitly stated when setting the UI's input mode.


After clicking once inside of the window the lock mouse to viewport functionality is lost. The mouse can then leave the viewport. This happens in standalone as well as PIE

Steps to Reproduce
  1. Open attached project
  2. Double click the MyMap level
  3. Click play
  4. Try to move mouse outside the viewport (you cannot)
  5. Click anywhere on screen
  6. Try to move mouse outside the viewport (you can)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-7293 in the post.

Login to Vote

ComponentUE - Editor - UI Systems
Affects Versions4.6.14.8
Target Fix4.13
Fix Commit3044536
Main Commit3050870
CreatedJan 8, 2015
ResolvedJul 11, 2016
UpdatedApr 27, 2018
View Jira Issue