Issue with browser-> open url in new window

0 favourites
  • 4 posts
From the Asset Store
Various Bell Sounds (from small to huge) / 35 Unique Clips / 2:46 minutes of audio
  • I have a "Text object" on click of which i want to call "browser -> open URL in new window".

    I am using "touch -> Is touching Object" for simulating the click behavior.

    It works fine on all the touch devices.

    But when i use it with mouse/touch-pad, i am facing a lot of issues.

    The new page opens successfully in new window but when i go back to the original window, i observe the following:

    1) the system keeps on calling "browser -> open URL in new window" continuously.

    2) The mouse hover starts behaving like a mouse click event.

    Note that I have enabled Touch -> use mouse input as "yes"

    The version that i use is "release 132 64bit"

    Link to .capx file (required!):

    dropbox.com/s/nwsexvmifo2mrgd/Browser_issue_new_url.capx

    Steps to reproduce:

    1) Click on "Click to open a new window". This opens google.com in a new window

    2) go back to the original window

    3) now try to hover over the texts.

    Observed result:

    The hover behaves like a click event.

    Expected result:

    The hover should behave normally.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Operating system & service pack: Windows / IOS

    Construct 2 version:Construct 2 Release r132

  • Can't reproduce in Chrome with r139. Does it reproduce for you in the latest version of Construct 2? Note our guidelines do ask you only report bugs for the latest version.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also, instead of "is touching object" you should rather use the trigger "on object touched".

    <img src="https://dl.dropboxusercontent.com/u/36472942/construct/forumhelp/OnTouched.PNG" border="0" />

    Also same as Ashley, I can't reproduce in win7 FF 22 in r139.

  • Thanks for your replies. I tried to use the trigger "on object touched" and it solves the problem. Thanks Kyatric for suggesting that.

    The issue seems to be fixed in R139. Ashley , you can close the bug. I am sorry I reported the bug without testing in the latest release. Will take care from now on.

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