NWjs: Mouse release is not fired

Bugs will be moved here once resolved.

Post » Wed Aug 31, 2016 10:47 pm

Problem Description
If NWjs-Open-Dialog was invoked via Mouse-Click on a Sprite the app does not receive the mouse-released event. so it makes the app think that the mouse-button is still down even if the open-dialog was already closed.

Attach a Capx
https://www.dropbox.com/s/9us121bmvxfs0 ... .capx?dl=0

Description of Capx
1. It contains a sprite which has to be clicked to invoke the NWjs Open-Dialog.
2. Event: left-mouse-button is down: show button-status in Text-Element
2. Event: left-mouse-button released: update button-status in Text-Element

Steps to Reproduce Bug
  • Invoke NWjs via Sprite-Click

Observed Result
App does not receive the Mouse-Released-Event. I just noticed it because i am listening to mouse-down events while hovering a sprite. but that event got fired even without the user clicked something.

Expected Result
App receives the Mouse-Released-Event.

Affected Browsers
  • NWjs

Operating System and Service Pack
Windows 10

Construct 2 Version ID
r233 64Bit (13:47:42 Aug 8 2016)
Posts: 15
Reputation: 232

Post » Wed Sep 14, 2016 1:24 pm

Thanks, should be fixed in the next build. The popup window gets the mouse release message which is why it gets stuck. The workaround is to fire mouse button release events when the window loses focus, which is what we already do for keyboard input.
Scirra Founder
Posts: 25,203
Reputation: 200,347

Post » Fri Sep 16, 2016 6:34 am

Thanks Ashley
Posts: 15
Reputation: 232

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest