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

Code Editor 2: Changing an object's parent does not register in multiple ways #7937

Open
KormexGit opened this issue Oct 7, 2024 — with GM Bug Reporter · 4 comments
Assignees
Labels
ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached
Milestone

Comments

@KormexGit
Copy link

KormexGit commented Oct 7, 2024

Description

If you change an object's parent, ctrl + middle clicking event_inherited will keep opening the old parent until the project is reloaded.

GameMaker-Beta_YISoiZqUeB.mp4

Steps To Reproduce

  1. Open the sample project.
  2. Ctrl + middle click event_inherited() on Object2. It will take you to Object1.
  3. Change Object2's parent to Object3.
  4. Ctrl + middle click event_inherited() again. It will still take you to Object1.

Which version of GameMaker are you reporting this issue for?

IDE v2024.1100.0.634 Runtime v2024.1100.0.658

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

6b115fd1-88a7-4a49-9d49-ddadd4fa2b83

@gm-bug-reporter gm-bug-reporter bot added ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached labels Oct 7, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Oct 8, 2024
@KormexGit
Copy link
Author

KormexGit commented Oct 9, 2024

Likely the same source issue, so I'm putting it here. Changing an object's parent also makes it not highlight or autocomplete any of the new parent's variables until reload.

I also noticed that feather will give a "Call to event_inherited() in object with no parent event" in the same scenario. I'm assuming this means CE2/feather isn't updating for the parent change at the time it happens

@KormexGit
Copy link
Author

Another extension of this issue, not only will autocomplete for the parent's variables not work when first assigning a new parent, but autocomplete for other objects also won't work. Dot accessing or using a with statement on another object from an object that was newly made a child will not show any of the variables of that other object in autocomplete.

@KormexGit KormexGit changed the title Code Editor 2: Ctrl + middle clicking event_inherited will keep opening the old parent if you change an object's parent Code Editor 2: Changing an object's parent does not register in multiple ways Dec 12, 2024
@zreedy
Copy link

zreedy commented Jan 23, 2025

Related to 2024.13 milestone tickets #7207 and #8131
Pulling from backlog into 2024.13 as such

@zreedy zreedy moved this from Backlog to Todo in Team Workload Jan 23, 2025
@zreedy zreedy added this to the 2024.13 milestone Jan 23, 2025
@zreedy zreedy moved this from Todo to In Progress in Team Workload Jan 30, 2025
@zreedy
Copy link

zreedy commented Jan 31, 2025

Fixed. Object properties serialize across the wire now. This should also mean that instance variable declarations update now too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached
Projects
Status: In Progress
Development

No branches or pull requests

2 participants