Fix Undo After Paste

  • 1
  • Problem
  • Updated 6 months ago
For years Snag It has had a horrible side effect of expanding the canvas when pasting objects on an existing image.

Thankfully it was easy to undo -- the very first undo in the command stack would be "undo change canvas size".

The latest update broke this.

Now if I drop a text object on the image, copy & paste it the canvas almost always grows bigger than the base image.    Undo completely ignore that forcing a manual resizing.

With the improvements in MacOS native image capture and image manipulation this latest upgrade has me considering whether after 5+ years I should cancel my Snag It subscription.   The quirks are starting to outweigh the benefits.
Photo of cyberLance

cyberLance

  • 5 Posts
  • 2 Reply Likes
  • sad

Posted 6 months ago

  • 1
Photo of SactoBob

SactoBob

  • 165 Posts
  • 61 Reply Likes
I don't think this is a problem exclusive to Snagit. If one pastes an object into Pages, Numbers or Keynote, the item always is way larger than one wants. Never occurred to me to use undo since that is supposed to undo the paste. It's pretty automatic for me to just grab a corner dot and do a drag/resize.   Or am I misunderstanding your comments?
Photo of Rick Stone

Rick Stone

  • 5636 Posts
  • 2673 Reply Likes
I realize this is likely the Mac version as this is the forum that was tagged. I am also aware that we don't yet have complete feature parity and that there are subtle differences in the Windows and Mac versions. 

advAPOLOGIESance if this is already something that is known. But in the event it's not...

In Windows SnagIt, in the capture preferences, there is a setting that governs whether the canvas should automatically expand so that it includes things that don't fit on the canvas. It's an option that is able to be in effect or not. It's the SnagIt author's choice.

So in Windows, from the Editor interface, we click Edit > Editor preferences... > Editor tab.



So maybe this helps? (assuming it was previously unknown and further assuming feature parity exists here)

I suppose it could also be a bug with SnagIt itself. I know I recently found one in the Windows version where even though this setting is not enabled, certain conditions will make the editor behave as if it were enabled.

Cheers... Rick :)


Photo of cyberLance

cyberLance

  • 5 Posts
  • 2 Reply Likes
That is good to know. That will save me a step and work around the new change in how Snag It is operating.

That said,. TechSmith should look at why the expand canvas is no longer pushed to the command stack for undo. It is completely MIA so no amount of undo commands after the paste will restore the canvas to its previous size.
Photo of SactoBob

SactoBob

  • 165 Posts
  • 61 Reply Likes
The Mac version preferences has the same exact setting. However, I don't think this is what cyberLance is talking about. My read is that he is talking about the object expanding not the canvas. I could be wrong. cyberLance?
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 1172 Posts
  • 288 Reply Likes
Hi cyberLance, 

What version of Snagit and macOS are you running? This appears to be working in the latest version of Snagit (2019.1.2)
Photo of cyberLance

cyberLance

  • 5 Posts
  • 2 Reply Likes
2019.1.2 release -- that checkbox to not expand the canvas that Rick provided above is perfect.   Wish I knew about that for the past 5 years!

However the commands pushed onto the SnagIt undo stack in the 2019.1.2 release definitely changed.    It was not an issue last week before the upgrade;  I use this product almost daily and have my "process" to upload screen captures on product development for my clients and Store Locator Plus customers on a regular basis.

Before 2019.1.2:
Screen capture
Add a text block on the image in a larger font.
Copy/paste that text block -- always forget to move my cursor to where I want it.
Canvas expands to allow for the block that inevitably is off the right edge of my original image.
Undo command (usually via keyboard shortcut) 
Canvas is immediately restored with my pasted object intact.

In 2019.1.2 -- same sequence the first undo does not do that, it starts doing things like "remove shadow, remove outline" and all kinds of weird things.
Photo of cyberLance

cyberLance

  • 5 Posts
  • 2 Reply Likes
UPDATE: 

Hmmm... ok this is odd.   Maybe I'm completely losing my mind... but hopefully not.   All last week I kept retraining myself "make sure you move the cursor where the paste will not be at the edge of the image" -- lest I need to go back 10 steps and start my copy/paste routine over.    So much so I finally posted here in the forum , which I rarely do as I'm a "figure this stuff out on your own" type.

So I go to shoot a quick video and post it here as GIF for the new Jetpack article I'm writing today....

First attempt -- the canvas doesn't expand because I have expand canvas unchecked thanks to Rick.

Uncheck expand canvas.

Purposefully put the cursor over on the right edge before pasting the text... canvas expands.  Click undo.  Canvas goes back... just like BEFORE 2019.1.2

So I have now tried this a half-dozen times and it is working just like before.

Maybe the check/uncheck option did something?   Or the fact several updates went in over the weekend so I rebooted the Macbook?   

Either way -- I can no longer reproduce the issue.     

Not that I will see it again as long as that checkbox stays functional to never expand the canvas.


As a side note -- the article for Jetpack is about GIF images and I reference TechSmith's SnagIt as it has been my go-to screen capture and "quick image manipulation" app for years.   Not sure how much exposure it will get but most articles hit 30,000+ views in a few months.
Photo of Rick Stone

Rick Stone

  • 5636 Posts
  • 2673 Reply Likes
Hi there

For what it's worth, over on the PC side I've also seen many times where the canvas expansion isn't "undoable".

In case it helps, here is how I see it happen. And generally speaking, it seems to be related to the bug I found and reported to TechSmith.

Even with the auto-expand disabled, if I add perhaps some text that overlaps the canvas, the moment I click away from editing or making a change to the text, boom! The canvas expands so it includes the text container. And pressing undo does not undo the canvas expansion. And my own guess is that because the canvas expansion happens courtesy of a bug, that may explain why it isn't included in the undo sequence. 

But only TechSmith can say for sure on that.

Cheers... Rick :)
Photo of SactoBob

SactoBob

  • 165 Posts
  • 61 Reply Likes
cyberlance, Rick, Luke, et.al....  With lots of years of experience with software, when software "misbehaves," especially after an update, Step 1 is totally quit and reboot the app. If that doesn't help, totally quit the app and reboot the computer (PC, Mac, whatever). Most of the time, these steps cure the problem. My Step 3 is trying to figure it out myself.

Photo of cyberLance

cyberLance

  • 5 Posts
  • 2 Reply Likes
SactoBob -- did a couple decades on Windows at that was the normal process for me.    When I switched to Mac a few years back that became an often unneeded step so it slowly moved from step #1 to step #3 or 4.   :)