Game icon indicating copy to clipboard operation
Game copied to clipboard

Mouse release event is not fired if focus is lost during a click

Open Zakru opened this issue 2 years ago • 2 comments

This issue came up while developing #642 (see thread).

If the user presses their mouse down on the window (e.g. minimap) and moves their cursor out of the window/over another window and changes focus (i.e. Alt+Tab), followed by releasing the mouse, the mouse release event will not be received. This results in the game thinking the mouse button is still down (in the minimap example, moving the mouse over the minimap still moves the camera).

Zakru avatar Sep 07 '23 14:09 Zakru

This is somewhat related to #648.

Indy2222 avatar Sep 07 '23 16:09 Indy2222