alexandervdm / gummi

Simple LaTeX editor
https://gummi.app
MIT License
738 stars 94 forks source link

Gummi crashes when closed with more than one file opened #143

Closed the-real-cyberpatrol closed 3 years ago

the-real-cyberpatrol commented 4 years ago

Gummi crashes when it get's closed with more than one (saved) file opened. Gummi stays visible, doesn't respond and the process needs to be killed.

When those files are opened after the next start of gummi it asks if the files shall be recovered from the swap files, which works fine.

This happens at least with Xfce.

alexandervdm commented 4 years ago

Can you state your OS and gummi version?

the-real-cyberpatrol commented 4 years ago

Version: Gummi 0.8.1 Distribution: Arch Linux ARM Architecture: armv7h Desktop Environment: Xfce Hardware: Raspberry Pi 4

the-real-cyberpatrol commented 4 years ago

This doesn't happen with Gummi 0.6.6 on Vold Linux on an x86_64 system.

alexandervdm commented 3 years ago

Confirmed this regression and re-added the code that prevents it. There are some significant improvements to be made to this code block, but I'm short on time so for now I'm just getting the fix out there through 0.8.2. Thanks for the report!