Problem Description
Mouse & Touch plugins not detecting mouse - up event when a browser alert is issued.
Attach a Capx
https://www.dropbox.com/s/78xzr94z2e33w ... .capx?dl=0
Description of Capx
Demonstrates that the Mouse up event does not fire after a browser alert is issued, causing in game problems when trying to detect if the mouse button (or touch) is being used currently.
Steps to Reproduce Bug
- Run game, note the text boxes display current status of mouse
- Click the left mouse button and hold it down, and then press any key on the keyboard, and it'll issue a browser alert (after the alert shows up, let go of the mouse button)
- With the mouse, or keyboard, press the OK button on the browser alert.
Observed Result
It still thinks the mouse button (or touch) is down even though it isn't.
Expected Result
It should either send a mouse up event, or simply detect the mouse is no longer pressed, even if not sending the mouse up event.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7 SP1
Construct 2 Version ID
r209