Skip to content

User Interface prefab: DropDown object does not free its surface when destroyed #14382

@KormexGit

Description

@KormexGit

Description

The DropDown prefab object creates a surface to use for displaying it's menu when clicked. However, if the DropDown object is destroyed, there is no surface_free in DropDown's cleanup event, and the surface can stick around.

GameMaker-Beta_YveDiaMEa8.mp4

Steps To Reproduce

Look at the DropDown prefab object and see that it's surface is not freed in cleanup, which can let the surface stick around even after the object is gone if it is destroyed after the dropdown has been opened.

Which version of GameMaker are you reporting this issue for?

IDE v2024.1400.4.1024 Runtime v2024.1400.4.998

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

Windows 10.0.26200.0

86552f42-db45-45fd-90aa-d2f2e9b8e735

Metadata

Metadata

Assignees

Labels

prefabThis issue is in a prefab collection which is delivered via Package ManagerprojectThis issue has a sample project attached

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions