The List Box Object Breaks The On Button Released Condition

  • Problem Description

    If you hold the left mouse button down while dragging your cursor across the screen, Sprite 1 will move to your cursor's position when you release the left mouse button.

    But if you hold the left mouse down while dragging your cursor across and past the list box object, sprite 1 won't move to your cursor's position when the left mouse button is released.

    This bug also breaks the drag and drop behavior as shown in layout 2.

    Here's a video of the layout 1 bug. The bug starts at 0:08

    https://vid.me/gcDI

    And here's a video of the layout 2 bug. The bug starts at 0:06

    https://vid.me/tiPW

    Attach a Capx

    https://www.mediafire.com/?6bke5d5au6ej9km

    Description of Capx

    Layout 1 moves sprite 1 to the cursors position when the left mouse button is released.

    Layout 2 allows you to drag sprite 2 around the layout with the mouse.

    Steps to Reproduce Bug

    • Hold The Left Mouse Button Down.
    • Drag the mouse over and past the list box object.
    • Release The Left Mouse Button.

    Observed Result

    Sprite 1 will not move to the cursor's position when the left mouse button is released. Also my cursor changes into a black circular caution sign.

    Expected Result

    Sprite 1 should move to the cursor's position when the left mouse button is released.

    Affected Browsers

    • Chrome: YES
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    Release 228

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The fact it works in Firefox and Edge but not Chrome strongly suggests a Chrome bug.

    I reported it here: https://bugs.chromium.org/p/chromium/issues/detail?id=613990

    Closing this issue to be taken up at that URL.

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