Git Product home page Git Product logo

Comments (4)

RickStrahl avatar RickStrahl commented on June 3, 2024 1

The error unfortunately is generated internally in the WebView, meaning it looks it happens during the drop operation. Based on the call stack it looks it never makes it into the MM code base which intercepts the drop operation higher up in the stack.

Not sure what could be causing that - drag operations out of the folder browser are text based so it captures a file path, which MM then uses to try and resolve the path.

I doubt that the issue has anything to do with SnagIt or a file that was just created since we're not seeing a file related failure - this is caused by the drop (or perhaps by the link insertion after the drop).

What are you doing exactly to capture the image? Are you using SnagIt natively to capture and save, or are you using the screen capture addin?

If you use SnagIt, there might be a better workflow. Here's what I typically use:

  • Take your capture
  • Copy to clipboard (or enable auto-clipboard)
  • Move your cursor into the document
  • Paste
  • Save the file where you want it to go
  • The image is linked to the file in the editor automatically

If you use the Addin this also works - it will basically automate the copy to clipboard and paste operation but personally I end up just using SnagIt directly most of the time because I'm so used to using it for other things as well - always copying rather than saving.

That said - this shouldn't be failing. But I don't think this is related to snagit.

from markdownmonster.

kkbruce avatar kkbruce commented on June 3, 2024

I found that the behavior is that when I use Snagit to capture and save images to the file directory, it will fail if I immediately pull the image into the editor. If I click on "Refresh folder" in File Explorer after saving the image and then retrieve the image into the editor, there will be no errors.

from markdownmonster.

RickStrahl avatar RickStrahl commented on June 3, 2024

So I took a few minutes to try and duplicate this in a few ways.

ScreenCaptureBug

I tried using the addin and SnagIt alone - both saving and pasting (or Finish in the Addin) and in none of the cases can I make the app crash, but I'm not exactly quick about getting the image dragged in from the folder browser either.

If you are using snagit I definitely think the faster way to do all of this is to either use the addin and its Finish operation (which copies to clipboard and then saves, or to copy to clipboard and then paste which will save at that point.

However, I did try to use SnagIt on its own to save and then quickly drag the file from the FB to the editor and that too appeared to work.

So if you have exact steps of what you're doing that might be helpful.

from markdownmonster.

kkbruce avatar kkbruce commented on June 3, 2024

I use Snagit to capture and save files directly, then drag and drop them from MM’s file manager.

I have two laptops with the same operation; one usually works, but the other does not work correctly (as described above), and I can’t find the reason. But the several methods you provided can effectively solve this error. I think I will change my operating habits, whether direct copy and paste or add-in.

I appreciate your patience in testing and answering.

from markdownmonster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.