Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on a behavior twice quickly can allow it to be added twice to the object (web app) #6600

Open
1 task done
tristanbob opened this issue May 28, 2024 · 0 comments
Open
1 task done

Comments

@tristanbob
Copy link
Contributor

Is there an existing issue for this?

Describe the bug

In the web app, I wanted to add a behavior to an object so I clicked on the behavior and it flashed once but didn't seem to change. I clicked it again, but then I got a warning that the extension needed to be updated, and a second warning about adding the behavior twice. If the user hits "OK" the behavior is added twice to the object.

This happened to me on a cloud project in the web app. I have not tested it on the desktop app.

Solution: Disable adding new behaviors while one is in the process of being added.

chrome_EYmDnhVDUB.mp4

Steps to reproduce

  1. Edit an object and click the behaviors tab
  2. Search for a behavior and click on it
  3. Before that behavior loads, click on the same behavior
  4. See two warnings and the behavior is added twice

GDevelop platform

Web

GDevelop version

5.3.201 (editor full version: 5.3.201-70508292e4c82fa715f844d88f706c27937b18e7, core version: 4.0.99-0-release)

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant