NWjs: Mouse release is not fired

0 favourites
  • 3 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • 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)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • Thanks Ashley

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)