1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
849 stars 35 forks source link

"move to trash" doesn't work. #42

Closed yu2chuan closed 3 months ago

yu2chuan commented 5 months ago

After picking a md file, I chosed "move to trash" and then the program crashed. I started the program again. But the md file I wanted to remov is still there.

1943time commented 5 months ago

Is this accidental? Did you check the Out of focus detection Markdown option? There are currently some bugs in this option.

yu2chuan commented 5 months ago

No matter the option is checked or not, the program always crashed when I moved the md file to trash.

1943time commented 5 months ago

I'm sorry I can't reproduce this issue here. Deleting files here won't cause a crash. I can only guess where the problem is in the code and capture it.

yu2chuan commented 5 months ago

I tried to send the different files to trash. The program still crashed on my Windows 10. Any crash log generated by bluestone?

1943time commented 5 months ago

At present, there is no error log written. It will be added in the next version. Would it be convenient to provide me with a screenshot of the console log, as shown in the figure

image

Open the console when you delete again,It is in View -> toggle developer tools . Are you using version 0.13.0?

yu2chuan commented 5 months ago

https://drive.google.com/uc?id=1AWjWunI-OpN1id0QOyVssczgBhWq2MF8

1943time commented 5 months ago

https://drive.google.com/uc?id=1AWjWunI-OpN1id0QOyVssczgBhWq2MF8

This issue has been fixed, but I did not use it to reproduce the deletion crash issue, so I cannot guarantee that the next version will solve it.