Set Hardware Cursor Doesnt always work

1.) press and hold the left mouse button, while over a widget.

2.) 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.

3.) you can release the mouse button now, move the cursor around, and even do a few clicks here and there, but SetHardwareCursor still wont be able to change the cursor.

4.) after leaving the window and re-entering again, SetHardwareCursor will finally change the cursor.

ps: yes i know i shouldnt use Event Tick, but i couldnt think of a better way to demonstrate the problem. also the bool return value from SetHardwareCursor still returning true, even though the cursor is “broken”.

219662-bug.gif

219663-widget-bp.jpg

Hey I was able to reproduce this. I have logged it into Jira as a bug report and that number is JIRA UE-52259. Our Developers will investigate it further so please refer to the link for updates.

Does anybody know if this is PIE only like the bug report says, although the OP did not state so? Because if this is a general bug that won’t be fixed (and given that this is from 2017 I assume it won’t be fixed anytime soon) I can safe myself some time and just leave standard windows cursors.