Left Mouse Stuck On after Text Box Pop Up

Bugs will be moved here once resolved.

Post » Mon Dec 22, 2014 12:20 pm

Problem Description
I was attempting to have a Text Box pop up over a sprite when that sprite is left clicked, easy enough to do but the left mouse release is not picked up so it acts as though the left mouse is still down.

Attach a Capx
Done

Description of Capx
There is a message that reports the status of the left mouse button every tick.
Also a sprite that, when clicked, spawns a text box on top of the sprite.
Pressing return destroys the text box.

Steps to Reproduce Bug
  • Run the capx
  • Left click on the grey box sprite
  • Note that the left mouse button message continues to show the button as down even once released

Observed Result
The left mouse button message continues to show the button as down once released.

Expected Result
The left mouse button message should show the correct status of the mouse button.

Affected Browsers
  • Chrome: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 8.1

Construct 2 Version ID
R192

Suggested work-around
Easily worked around by using the Mouse Button released event to pop up the text box instead of the click event.
You do not have the required permissions to view the files attached to this post.
B
16
S
4
Posts: 35
Reputation: 2,393

Post » Mon Jan 05, 2015 4:33 pm

Closing as won't fix: the mouse event goes to the text box instead of the game, and creating the text box half way through a click prevents the game seeing mouse up so it thinks the mouse is stuck. Like you say the workaround is straightforward.
Scirra Founder
B
398
S
236
G
88
Posts: 24,433
Reputation: 194,635

Post » Wed Jan 21, 2015 10:38 am

Thanks Ashley, I expected such but thought I should at least report it as anyone else getting the same problem can see the work around.
B
16
S
4
Posts: 35
Reputation: 2,393


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 7 guests