-
Notifications
You must be signed in to change notification settings - Fork 263
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
Bug: Control-Z (Undo) Completely Unusable #152
Comments
Task-Url: RPTools#152 Testing bug fix for #152 Signed-off-by: Jamz <Jamz@Nerps.net>
Found issue in SVN commit 5743, ZoneRenderer.java Remove isEmpty() checks seems to fix issue... e.g. // if (!drawables.isEmpty()) |
In my opinion, the undo should function based on the tool in use. |
And IMO, we should just turn off Undo for templates since it's broken. |
So was this fixed? Partially fixed? |
I don't know, it was over A year ago. But I would guess if I found the fix I'd be surprised if I didn't fix it in my fork? It seems familiar... |
I think your comment was for a different bug. That change has nothing to do with undo. |
Hmm, ya looks like it lol. Still seems familiar. Pretty sure I worked with Dorpond on a fix in my fork... Does it not work in 1.5.x? |
Got me. I never use it because it has always been unreliable. With Drawing Explorer available to manage/manipulate drawings, I rarely need undo. |
I’m almost positive Jamz and I fixed undo in his fork... test it out and see. |
For all intents and purposes, 1.5 is his fork. |
Testing with 1.5.3 using drawings and spell templates intermingled suggests that a fix was made. Unable to produce a problem. Closing. |
Testing needs to be done with a server running and a client connected. Then adding drawings and templates should be done on both systems with each one doing Undo operations out of order. For example, server adds two templates, then client adds one, then server adds one more. What happens when the server uses Undo twice? The initial problems with this were based on the Undo stack containing both remote and local changes, with no tracking of who made the change, meaning an Undo could undo what someone else added. It got really strange. But I agree with your earlier statement — it's always been buggy so I don't use it either. |
Testing with Server and two connected Player Clients. MT 1.5.3
Unable to produce a problem. |
Cool! Sounds like Jamz squashed this one then... 🙂 |
https://rptools.slack.com/files/U18GPQKDH/F77PZPZGA/drawing_tool_wtf.mp4
Control-Z (Undo) is a complete mess (drawings and spell templates). I tried to show you in the video above, but once you are stuck in it's mess, it is hard to get out of it - even the Draw Explorer doesn't help.
I all my testing, I found that Undo (both drawing and spell templates) worked perfectly in 1.3B85 and then it was broken in 1.3B86. It has been broken ever since, even in 1.4.1.8 as well as Jamz fork 1.4.4.0.
I did some searching in the forums and tried finding a change log to help narrow things down. These might help:
Official Release Post: http://forums.rptools.net/viewtopic.php?f=1&t=18537
Testers Forum: http://forums.rptools.net/viewforum.php?f=60&start=50
Possible Change Log? http://forums.rptools.net/viewtopic.php?f=60&t=19624
Notes:
Azhrei and I were talking about this bug in Slack and he stated this:
"Looks like b85 was 5735, so the problem should be between 5735 and 5751. However, I just used the SVN browser at sf.net and none of the comments lead to any obvious undo changes, so I looked at the commit info for anything that I thought had a possible change to the undo manager. I didn’t find anything. I’ll need to generate the diff for the entire range and not each commit, then look for the problem, but that’s a job for my laptop, not my tablet...
I still think it’s cool that you were able to narrow it down to starting in b86. Good job!"
The text was updated successfully, but these errors were encountered: