Objects placed on image from Recents Tray don't stay where they are put

  • 1
  • Problem
  • Updated 8 months ago
The arrival of the snap guides have made this issue even more perplexing than ever. 

I drag an item from the recents tray and carefully place it on the canvas, exactly where I want it, lining up with all the other objects.  Perfect.  And then I release the mouse, as you would.

SnagIt moves the item somewhere else, presumably so that I may enjoy the benefit of the snap guides to put it back where I put it in the first place.

To which the only possible response is WTF?


Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes

Posted 8 months ago

  • 1
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Your PC has issues is all I can say, I took this small image and dragged it in lots of times in the attached image.
It I lined it up with a canvas snapping it stayed put.
I intentionally didn't line it up LOTS of times with anything. It stayed right where I dropped it. Every single time.
You've got some strange issue. Have you tried another mouse? Graphics drivers?
  
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
No never, complete control
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
OK so I am almost certain that this is related to the other problem I was having with mouse accuracy - my inability to resize items due to the controls not appearing in the correct place.

Why am I sure os this?

Because, in order to fix that problem I disabled the option to keep the editor running in the background.  After each capture I closed the editor.  That fixed it.

But today I was working on a complex image where I was combining lots of icons and thumbnails on a single canvas, so I had the editor open for a long time, maybe > 2 hours?

Just after I posted this thread about items dragged from the recents tray, the problem with mouse inaccuracy reappeared.

So I closed the editor and reopened it.  Both problems had disappeared again.

Conclusions
It's very unlikely it's related to the mouse because as soon as I close and reopen the editor the problem vanishes, and, anyway, I could place things with accuracy once they were on the canvas.  If it was the mouse, it would surely apply to everything.

So, there seems to be a problem that creeps in after extended use, perhaps due to a memory leak?
Photo of Rick Grunwald

Rick Grunwald

  • 1249 Posts
  • 856 Reply Likes
I get that in Photo although I have not been looking for exact placement. If I drag a picture in, it seems it almost always pastes down and to the right. I will watch for it in snagit as I do a fair amount of dragging in pictures there too. Once it shows  I just grab it and have my way with it. 
THis might be something you have to live with
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Yeah, me and the dog went for a nice long walk in the woods. I realized this wasn't a good subject for me to jump in on. I don't drag images from the tray often enough to know what might be going on.
I do 99% of my composite editing in Photoshop because it's predictable. And you have more control over everything. And more tools.
In the future, I'll try not to comment on features I don't use regularly. 
 
Photo of Rick Grunwald

Rick Grunwald

  • 1249 Posts
  • 856 Reply Likes
Keep posting .. we all get to learn something
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Actually I've been playing around and I think I see what's going on now.

If you drag an image in from the tray. The top left corner of the image, is where the image will snap into place from.

 For some reason, different images drag in at different levels of scale/zoom as you drag them in.
So their behavior is a little fickle.
 Very small images don't re-scale much so you don't notice any change.
Here I'm dragging in an identical image.


When you let go,they pop to full scale from the position of your cursor. From the top left corner of the image.


The behavior seems consistent.


As long as the images fit the canvas.


I don't use the feature."Automatically expand the canvas"
 
I dragged in a image that couldn't expand at the position of the cursor.


It made up it's own mind where it wanted to be placed.


I'm tired of this topic now, I feel like I've contributed enough for now and I'm going to do something else. Something more enjoyable like go back to sleep. Probably not, but food sounds good.
(Edited)
Photo of Rick Stone

Rick Stone

  • 4484 Posts
  • 1999 Reply Likes
Paul, are you working with a larger image that has been scaled to fit? 

Here's my thought. Say you are composing an image that is larger than what the SnagIt workspace is configured to be. So if you have that option to fit the image to the editor enabled, the actual display is smaller. And perhaps your small images that are being dragged in are at full scale. But when you drop them, the editor rescales them to fit the editor settings. And perhaps that initial rescaling after you are dropping is affecting the placement.

With my own workflow, I never expect to perfectly place an image when working this way. And admittedly, I do work that way a fair amount. But I'm always just kind of dragging all willy nilly and dropping. Then after getting the image on top of the other, I make finer adjustments.

Cheers... Rick :)
Photo of Rick Grunwald

Rick Grunwald

  • 1249 Posts
  • 856 Reply Likes
I had added a text box then tried to add a graphic under it. No matter what I did it kept inserting it into the text box. I tried picking another tool, clicking outside the canvas and all the other little tricks.  (The cursor was not inside the text box)
I finally had to cut the text box, put the picture in then past the text box back into the document. I am going to play with this a bit before yelling "BUG"
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Thanks for your suggestions Joe and Rick S

I have been working on a 400 x 1100 px canvas and placing other captures that are typically 50 or 100 px wide by 50 px high.  All the dragged images were originally bigger and have been resized to the specific width after editing.  The canvas is at full size. The dragged objects are at their new full size (which has been applied.)  There is nothing to rescale.

And the behavior is consistent and repeatable. If I close the editor between drags, the placement is exact.  If I leave the editor open and keep dragging objects onto the canvas there will come a point at which accuracy goes, and the object is placed ~8 px to the right of the correct position.

I am creating a series of vertically arranged icons that have to be perfectly aligned.  It does does not seem unreasonable to me to be able to drag and drop a 1:1 image exactly where I want it, and for it to stay where I carefully placed it.  It seems perverse to move it 8 px and then expect me to reposition it,  But this is clearly not by design, or I would not be able to accurately place an object after reopening the editor.  It HAS to be a bug that creeps in after sequential use, which is why I suspect a memory leak or some such bug.
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Indeed I have.

Snagit Editor consumes about 230MB RAM.  With each successive drag and drop of an item from the tray to the canvas the RAM consumption increases by about 10MB.  I dragged items at random just to watch this effect.  When the RAM usage had reached about 400MB I decided to exit SnagIt.

Now I can't get it to start again.  Every time I do so I get the Windows "Program has stopped working" error.  Time for a reboot.
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
So this just gets worse.  After a reboot, SangIt Editor still crashes when opened.

Did a repair.  Still crashes.  Now I have to a complete reinstall.

If my PC were at fault every app would have problems.  It's just SnagIt.
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Reinstall complete.  We're back and working again
Photo of Joe Stoddard

Joe Stoddard

  • 16 Posts
  • 17 Reply Likes
Paul - 
>> " If my PC were at fault every app would have problems...">>
That makes perfect logical sense but in the Windows world that's not the case at all.     Furthermore, the issue you're having could not only be unique to you/your machine... but it could also be some needle-in-a-haystack interaction between two or more things that you and only you are likely to have installed.  Like what(?) you ask...?    Who knows.  It could literally be  "App A" plus  "App B"  installed together only cause problems for "App C" (SnagIt) IF  "App D" is also present and running.   Could be utilities, security software, something from the Internet nobody can trace...who knows.   We used to have all kinds of problems like this with a certain niche CAD application..   certain actions in the program would cause a crash  IF the user was using a particular graphics card/drivers... AND  had some particular version of Microsoft Office installed... AND they were using AVG antivirus  but  ONLY IF  they  also had  the "real-time email protection (or whatever it was)" enabled".    Figuring this out wasted months of ad hoc head scratching,  but that turned out to be the scenario.   Repeatable sort of... but ONLY with that exact combination of software and hardware.   
- Just  MSOffice but no AVG... no problem....
- Some other version of Office plus AVG... no problem...
- AVG plus some other office suite....  no problem. 
- Known problem combination of  Office+ AVG but with some *other graphics card/drivers*.. also no problem. 

The bottom line is that software developers can't safeguard against this sort of thing -it's impossible.   All they can do is give you the installation requirements and guarantee that if you install their software on a  clean environment - it will work.  But start adding other stuff to the computer and all bets are off.    In this example, the CAD vendor simply said -  "Wipe your hard drive... re-install/update Windows....  Re-install/update our Software.  Period.  That's what we know works for our software.. if you want MSOffice and AVG and whatever else on the same computer  it'll most likely work, but if it doesn't - sorry,  we can't help you.  Call Microsoft, Call AVG.   

I'm guessing you have something like that happening.  And your best bet is going to be to re-format the hard drive... re-install Windows (with just the minimum features you need),  re-install Snag-It....   see if it works.   If it does...  start adding your applications back one at a time (testing in-between)  until it fails.    Then you'll know  what odd combination causes the failure.   Or maybe you won't be able to duplicate it at all.   But at that point - when you have a clean install with your core load of applications working... make a drive image.  I'd use something like Acronis TrueImage.   Keep your 'clean' working drive image on a USB drive or similar where you can get to it -  next time something  messes up  - you won't have to go through the long manual process - just restore your computer from the drive image,  load your data (from the  separate data backup I didn't mention above... but that you should *also* be doing daily)  - and you're done.      This all sounds like too much to deal with  but it's really much easier than it sounds.    Hope that's at least some help. 
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Makes sense.

My data is all on a separate drive, and that drive uses Synology Drive to mirror files to to my NAS drive which has mirrored disks and is backed up nightly.  So my data is secure.

And I may well end up going down the path you suggest.  My Windows apps footprint is actually quite small as I use web apps for everything I can.

But first, I have referred this to Support.
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Some memory feedback for ya Paul.
I started by dragging in a ridiculous amount images on top of each other to see where memory usage would go.
Didn't go up much at all.Just briefly and dropped back down. So I opened more images to drag in.That effected memory dramatically.
I'm thinking that's why TechSmith won't let us have more than 15 recent captures. So I closed a few to compensate back to where I was.

I wanted to crash the program it I could.SO I expanded the canvas size  "A Lot" and added a bunch more stuff. Cropped the canvas and kept layering more content.

I got SnagIt to be very sluggish and unresponsive at times. It almost crashed a few times. That was close enough to a crash for me.

When it started working again it was only using 322MB of RAM. I selected ALL the images and took a screen shot. The image is 6508 x 3265 Pixels. 

When I finished I set the scale to 100%. I dragged in some more images and my cursor doesn't malfunction a lick.
Placement was precise.
So that tells me your issue is probably unique to you.
 
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Update:

I contacted Support about this, and all the other related problems.

They got me to send them a load of diagnostic reports from Windows and SnagIt and after receiving those came back with a suggested change to a SnagIt system variable.

Made the suggested change and, after a heavy 90 minute non-stop editing session, none of the issues has surfaced.  It's a bit premature to say problem solved. but it's certainly looking "so far, so good."
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Interesting,
 I don't think they mind if you post solutions.

If someone else is having the same problem, actually stumbles into your thread. Possess the skills. They can attempt the repair themselves.Switch back if it doesn't work for them.

Oddly enough, my "Direct2D11" is set {True}
I don't have a ........"Direct2D10" At all. {Strange}

The odd issue I was having with the Smart Move tool was corrected by Guess What?

A .json file setting. OcrOnSmartMoveEnabled.  It needed to be changed to.............{True}

How backwards does all that sound?
My setting need to be set to True. Yours, False. WT?

  
(Edited)
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Anyway, NOT my PC then.  Don't wish to sound smug but actually I am,
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
That .json file sure can wreak some havoc.
Photo of Rick Grunwald

Rick Grunwald

  • 1249 Posts
  • 856 Reply Likes
I hope a fix is on the todo list. End users really son't need to be editing java script files without knowing what you are doing can create a disaster
For anyone who found this in a search and have wisdom ... BACK UP that features.json file. Make a copy of it in the folder before you start editing
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
I don't see how they can, the setting are different for different people.

Photo of Rick Stone

Rick Stone

  • 4484 Posts
  • 1999 Reply Likes
So where exactly did you find the .json file? I've seen hints of its existence. Mentions that it needed modifying. The values inside that needed changing. But I see nothing in this thread that would tell anyone exactly where it lives. One might conclude that since it's been discussed, that it would be helpful to know exactly where to find it. ;)

Happy Tuesday all... Rick :)
Photo of Rick Grunwald

Rick Grunwald

  • 1249 Posts
  • 856 Reply Likes
C:\Users\YOUR LOGIN\AppData\Roaming\TechSmith
(Edited)
Photo of Joe Morgan

Joe Morgan

  • 5638 Posts
  • 2924 Reply Likes
Ha ha Rick S,
your the guy who likes haphazardly guessing your way through "Registry Settings" Changing them. Looking to stumble upon a fix for bugs.

When you think you've discovered one, you post it for others to try. Having no idea what impact that "Guess".
May have inadvertently imposed on other program functionality.

That being said, you'll find this file eventually so I'll share the location.

With a caution, let TechSmith tell users when to change settings in that file.

Some of my settings are the opposite of Pauls.
So I'm thinking you need more than Guess Work to get to the proper settings and not run into odd problems like Pauls and mine.

C:\Users\User Name\AppData\Roaming\TechSmith

Regards,Joe
Photo of Paul

Paul

  • 1125 Posts
  • 893 Reply Likes
Sorry, should have included that:

1) Close out of Snagit so that it is not running at all
2) Hold down the Windows key on your keyboard and hit the R key to open the Run window.
3) In the Run Window, type the following and then hit Enter: %appdata%\techsmith\
Photo of Rick Stone

Rick Stone

  • 4484 Posts
  • 1999 Reply Likes
Thanks Rick and Paul, appreciate the info.