-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Undo keyboard shortcuts do not work reliably in 3D/2D scene or inspector #54274
Comments
Related to #53424. |
I've just tried doing the steps to reproduce on the latest 3.4 RC1 and it's just as bad, undo shortcuts are totally broken in a fresh scene if I create a spatial and move it. |
Yep, that's why I needed to make a fresh bug report as that one only focused on the inspector, whereas I think this is a greater problem involving the keyboard shortcuts everywhere outside of 2D and script editor. I'm hoping someone else will be able to chime in and offer some kind of emotional support for this as it's really hard to actually reproduce outside of the project I'm working on. |
Related: #53866 |
Whoever's an expert with Godot's Undo/Redo, let me know and I'd be happy to share privately my project that has the problem. I've tried cutting it back but it just seems to make Undo/Redo work better the more files I remove. It's definitely broken and is causing me to lose a lot of work trying to diagnose the problem, which I can't do by myself unfortunately. |
Modifying this as my shortcut keys are broken in 2d mode too, on a reasonably fresh project when I just dragged a sprite into the scene. Undo/Redo menu works fine, shortcut keys totally broken. |
I've been able to reproduce this a handful of times on both Could you try to record a video while you're using the editor until this issue occurs, then edit the video to keep only the last 1-2 minutes and upload it here? This would likely help figure out definitive reproduction steps. Ideally, this should be done from a brand new project. |
This can be easily reproduced on MacOS in the 3D editor in a new project on 4.0 Alpha 6. I noticed that sometimes simply opening and closing the file menu would allow cmd+z to work again (unreliable fix). |
I think part of the issue is which part of the dock windows are selected, clicking the background of the Scene tab or Inspector tab for instance seems to switch between the undo stacks which is... completely unorthodox. |
#59564 will likely fix this in 4.0, but it's unlikely to be backported to 3.x since it relies on compatibility-breaking UndoRedo changes. |
Undo is still exactly as broken in 4.0 as in 3.x. |
I'm still currently having this issue in Godot 4 beta 10 (mono). Godot 3.5 has been much more forgiving with this issue as undoing and redoing has been for the most part consistent, but Godot 4 fails to undo and redo pretty much all the time when I use it, unless reload saved scene for some reason. |
I'm having the same issue in Godot CleanShot.2023-01-07.at.01.19.51.mp4 |
This should be in part fixed by #71328. |
Consistently in 3.x3, 3.4, 3.5 and 4.0 I've found that undo-ing is pretty flawless in the code editor (thank goodness) but requires manually clicking the File > Undo or File > Redo button to, I guess, activate the direction(?) of "do". For example, if you place some objects in the scene and press CTRL+Z, nothing might happen until you press File > Undo, then CTRL+Z will work continuously until you click in the scene editor. However, during Undo-ing with CTRL+Z, you might decide to Redo which won't work until File > Redo is clicked, then CTRL+Z will work every time until clicking somewhere else. I've just gotten used to this way of working, it's very unpleasant but I'm just grateful the code editor never fails me (unless changing tab and trying to undo/redo, which can sometimes break). |
Oh wait this issue just seems like a dupe of #66424 (or rather it was a dupe of this one) , I just read the OP. I think this can be closed. |
Misclick... Mobile 💀 Yes it should be in b11 and later |
Godot version
3.3.3 stable
System information
Windows 7 64-bit
Issue description
When attempting to undo or redo with keyboard shortcuts, Godot almost never works correctly in 3D scene or for inspector changes. It works fine in script or 2D, but breaks most of the time in 3D or when changing inspector values. Scene > Undo and Scene > Redo are for the most part fine, but shortcut keys break, until Scene > Undo or Scene > Redo is used, at which point it may work for a while.
Steps to reproduce
Create a spatial
Move it a few times
Undo/Redo keys will not work
Press Scene > Undo to get Undo/Redo keys working again
When you undo until past the point of creating the spatial, redo will break again
Press Scene > Redo to get Undo/Redo keys working again
Minimal reproduction project
I have tried and tried to create a minimal reproduction but it always starts working as soon as I delete a bunch of files, which leads me to believe it has something to do with certain content in a Godot project folder. Once I deleted a vast amount of files, Undo started working but redo still didn't work. It's completely unpredictable and I have no idea where to start diagnosing this issue, other than sending my entire game project to someone privately for analysis.
The text was updated successfully, but these errors were encountered: