evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.03k stars 715 forks source link

Freeze at save #773

Open Dredger73 opened 1 year ago

Dredger73 commented 1 year ago

Hello. Just registered to GitHub to inform about this problem. I was happy to find a new version of Pencil, but i have a problem with it, so far, and an annoying one : the save function does not work, application is blocked, windows cursor endlessly "processing", no CPU, similar to what is described in an old ticket (this one : https://github.com/evolus/pencil/issues/243 ) But there's at least one way to solve the problem, using "Save as" - when doing so, it can save, but not with "Save" function.

I just tried the latest version (3.1.2.20230109113718 - nightly release, this one for windows : https://pencil.evolus.vn/dl/development/Pencil-3.1.2.20230109113718.exe ) but still the same problem :( -at least the "save as" alternative still works.

tortillas5 commented 6 months ago

Same problem here

Does not happend everytime but it freeze indefinitely sometimes when I save. No crash is occuring, no high CPU / memory usage.

Is there logs anywhere to help debug this problem ?

tortillas5 commented 6 months ago

So I found how to open the dev console and found the related problem, it does not seem to me that it's the save that is crashing, but an uncaught exception is making the save crash.

To me it seems that some elements of the apps are temporarily saved in the AppData\Local\Temp\ folder, but then is earased from the disk before being saved on the save file location defined by the user, resources are then inaccessible and it makes Pencil crash. Capture d'écran 2024-02-14 165931