scrivanolabs / ScrivanoForLinux

Scrivano is a notetaking application for handwritten notes.
93 stars 2 forks source link

Auto save causing Scrivano to crash and my system to freeze #17

Closed henrispriet closed 8 months ago

henrispriet commented 8 months ago

I believe the auto save is causing Scrivano to crash. It kept randomly crashing, and I noticed that saving after every few strokes prevented it. Also when I upped the auto saving interval from 2 to 30 minutes, it crashed significantly less often. Opening a file that just crashed right afterwards often causes it to crash again.

Please add an option to disable auto-save (tbh I was surprised that there wasn't one to begin with). And it'd be nice if the crashing was fixed too of course.

I'm using Ubuntu 22.04.3 LTS and I believe the latest version of Scrivano.

scrivanolabs commented 8 months ago

Hi, thanks for reporting the issue. Could you please share the hardware details of your device?

I believe the latest version of Scrivano.

Could you please confirm that you're using version 0.18.11? You can check this in the About section.

Another user reported a similar problem here https://www.reddit.com/r/scrivano/comments/17y31uv/save_bug and that was fixed with the 0.18.10 release.

Opening a file that just crashed right afterwards often causes it to crash again.

Is there a file you can consistently reproduce this with?

For the autosave option, I personally would like to be always enabled but I can see that other users may view it differently. So I'll add this to do my todo list.

henrispriet commented 8 months ago

Hi, thank you for your incredibly swift response.

Could you please share the hardware details of your device?

Here is a screenshot of the Ubuntu Settings About section: image

Could you please confirm that you're using version 0.18.11?

I am indeed using Scrivano 0.18.11.

Is there a file you can consistently reproduce this with?

There is,actually. Here it is: ex_H3.zip

scrivanolabs commented 8 months ago

Ok, thanks for reporting this. After testing with your file, it seems that the app crashed due a bug in the rendering logic (effectively due to a division by zero). I have just submitted a new release (0.18.12) which should fix the problem. BTW, what input device are you using to write with Scrivano?

henrispriet commented 8 months ago

Cool, thanks for the fix! I use a Wacom Volito that I had lying around.