Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Ctrl + Z Not Working as Expected in Message Fields

First, I want to say that I love Roll20. I move around a lot and it helps to be able to stick with long-term games via the Internet. The bug I am reporting is minor, but nonetheless annoying.

When typing into a message field (such as the one I'm typing in now), I've noticed that Ctrl + Z doesn't work as expected. I try not to use it at all, but I inevitably forget and end up deleting minutes worth of writing with no way to recover it (Ctrl + Y doesn't seem to work).

Detailed Description of the Problem

After typing a few paragraphs in a message field, then going back through what you've written to make some changes, if you use the Undo shortcut Ctrl + Z, it will delete the last few things you typed, regardless of where they were. I'm not sure exactly how much text it deletes or whether it deletes a certain time frame back, but it ends up destroying any piece of writing longer than a couple paragraphs (which is pretty common for messages about RPGs).

Steps to Reproduce the Problem
Open a message field like the one I'm typing into now. Type a few sentences. Enter a couple returns. Do this a few times, then go back through the text and make a few additions, changes, and deletions. Then hit Ctrl + Z. Text from all over the message field is removed, taking away much more than the last thing you typed or even the last few things. Ctrl + Y does not work to restore the text.

Description of Your Setup (Browser + Version, Operating System, etc.)
Chrome 42
Windows 8.1
Pretty sure neither of those matters. Browser might.

Thanks!
May 16 (10 years ago)
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Michael, I wasn't able to replicate the issue. When I use the ctrl+z it reverts my actions in order.

Also in many programs, including ours. ctrl+shift+z redoes the action.
Ctrl + Shift + Z works. Thank you for pointing that out. That kinda makes it a non-issue, so feel free to disregard this post for that reason. However, if you're interested in recreating still, it does works strangely for me. I took a couple screenshots to demonstrate.

Text before hitting ctrl + z:


Text after hitting ctrl + z:

May 16 (10 years ago)

Edited May 16 (10 years ago)
Gold
Forum Champion
I didn't know about Control-Shift-Z, so thanks for that tip Steve. Will try it.

Control-Y is what I'm used to for "Re-do" and I've experienced the same issue as Michael H, where Control-Y did not work to redo an undo. I also tried the Chrome menu EDIT>REDO and that also did not restore text that was disappeared from hitting Control-Z (Undo).

And I have also experienced the same issue Michael reported with unexpected amounts of text disappearing when pressing Control-Z. This happens to me fairly regularly on my campaign-forum posts, so much that I have learned to highlight the entire message and hit "COPY" (Control-C) before hitting Undo, just in case it erases several paragraphs instead of just the last thing I typed.

I also have the latest & unmodified Chrome, but I'm on Mac.