Description

The SetHardwareCursor function sometimes doesn't update when clicking and holding the left mouse button on a widget component, like a button, and causes the cursor to default back to its normal icon if it has been changed.

Steps to Reproduce
  • Open attached repro project
  • Press Play to Play in Selected Viewport
  • Press and hold the left mouse button over the button(widget)
  • Move the cursor outside of the window and back inside again, while still holding the mouse button down. After few tries SetHardwareCursor will fail to change the cursor
  • You can release the mouse button, move the cursor around, and even do a few clicks but SetHardwareCursor still wont change the cursor back.
  • After leaving the window and re-entering again, SetHardwareCursor will change the cursor

Result: SetHardwareCursor won't change the cursor back after leaving window when holding down left mouse button

Expected: SetHardwareCursor keeps the cursor the same when left clicking and leaving the window

Have Comments or More Details?

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

18
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems - Slate
Affects Versions4.17.24.184.19
CreatedNov 10, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue