Author
Topic: Ctrl+Z Undo doesn't work? (Read 625 times)

I only occasionally need screenshots, so I find SSC overwhelming. But I didn't abandon it because of its complexity, but because Ctrl+Z Undo doesn't seem to work, at least not as I expected.

SSC makes screen captures perfectly well. My problem is in editing a screenshot. I start to annotate, then decide I should (e.g.) have put an arrow in a slightly different place. I press Ctrl+Z Undo to remove the arrow - and just get an angry beep, with no change on screen. At this point, Hypersnap and PicPick both obediently revert to the previous version of the on-screen image, and that's what I expect to happen with SSC.

Have I misunderstood how Undo is supposed to work, or do I need to configure something? I have the latest portable SSC, 4.16.1, installed on Vista Home Premium, 32-bit, UAC On, user account.

If you find it doesn't, can you try choosing UNDO from the Edit menu and see if that works?

It may be that there is a bug that makes SC not see the Ctrl+Z in some cases -- if you find that to be true for you and you can figure out in what cases it doesn't respond to Ctrl+Z (but it does respond to choosing Undo from the Edit menu), please let me know!

Could this 'not working' have to do with what's currently the cursor-focus? If the focus is in the filename editbox, it'll undo there, and not in the image. Selecting the image pane by clicking it once, then press ctrl-Z might help.

I think you have hit the nail on the head. And it may be there are certain cases where the focus is on something that prevents it from triggering when one would like it to.

Just as an example, when you select the LINE tool, or indeed ANY existing LINE, a recent feature in SC is to automatically focus to the "End Label Text" box for the line tool. That means that Ctrl+Z is not going to work for normal undo while it is there. I wonder if that might be your issue. I might be able to kludge a little workaround where if there is no undo buffer for the line text label, it would forward the Ctrl+Z to the main window.

As Ath suggests, the easy workaround for such cases is to click in the main editing window to restore focus there.

The cursor didn't seem to be in an unexpected field. What I mostly want to be able to do is to delete the last object added - and now I find the Delete key does that

I realised that when I got a beep from Ctrl+Z, a warning at the bottom of the screen said "Reached end of undo buffer." I had only a single arrow added to the image, which I had immediately attempted to remove, so tried adding a few more objects. Ctrl+Z then seemed to behave more normally, but still not as I expected. I tried making a text box containing some text, moving it to two or three different positions, dropping it there for a moment, then going back into object mode and moving it elsewhere. The first Ctrl+Z removed text from the box, and the next re-located the now-empty box to where I had originally drawn it. SSC didn't seem to step back through each of the different locations with the filled box.

And, Ctrl+Z doesn't remove "the last object added" when that object happens to be the very first object added to the raw image, as I expected it to.