YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

Workspace: Delete key no longer working to delete events #7754

Open KormexGit opened 3 weeks ago

KormexGit commented 3 weeks ago

Description

Edit: Apparently it is still working for others, so I have no idea why it stopped working for me. I tried restarting the IDE and tried multiple projects, and it's still broken.

Pressing delete on an event in the workspace object window no longer works, instead either doing nothing or deleting code from the selected event.

In this video, I'm spamming the delete key:

https://github.com/user-attachments/assets/d2ffabd0-c343-490d-a3e0-2dfeba55314c

Steps To Reproduce

Open an object in the workspace, create some events, and try to use the delete key to delete them. Also some extra secret step that I don't know, since it seems to be only happening for me and not others.

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

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

Windows 10.0.22631.0

894a25fe-3c38-4956-8157-5c55557a228f

Grisgram commented 3 weeks ago

@KormexGit 100% sure you didn't change any keybindings recently?

The reason for this question is, that BOTH of the last 2 updates of gamemaker made a full reset of all key bindings, i had to set up all my bindings again, for every snippet and all, now i have an exported bindings file and it will not hit me again -- still curious, maybe it's just the keybinding?

have you checked that in the preferences?

KormexGit commented 3 weeks ago

I already tried resetting my keybinds to defaults and it still kept happening. Delete does work everywhere else in the IDE, just not in the workspace object window.

Edit: I just discovered another thing, if I just select the event and hit delete it doesn't work, but if I first right click to bring up the context menu and then hit the delete key, it does work. Based on the window highlighting, it looks like left clicking on the event is focusing the code window instead of the event window? And so the code window is getting the delete command instead of the event window.

https://github.com/user-attachments/assets/7b063bf3-1f08-482c-92b4-b585f63b6fae

KormexGit commented 3 weeks ago

Another update, gnysek figured out that this setting causes this behavior: image I'm pretty sure I never changed this setting, especially since this issue started happening abruptly just recently, so I'm not sure if the update somehow changed it or what

stuckie commented 3 weeks ago

I've just had a quick look at the bug package, as your changed preferences get added into it. And yes, it has that that Object Editor setting was changed to single click at the time you sent the bug report.. the default is still set to Double Click.