Glyphs keeps freezing when saving files

I’ getting frequent freezes in Glyphs, sometimes it happens spontaneously (when auto save kicks in?), and often when I save a file. It does not happen every time I save, but frequent enough to make me nervous since it happens at save time and there is a potential of losing data (so far no data was lost, as after force quitting and restarting the app, it always restores from auto saved copy).

This does not happen with a particular font, but several ones.

Restarting with no plugins does not seem to make a difference.

Which OS version?
Which app build number?

15.7.3 (24G419)

3.4.1 (3436)

How many glyphs and component are in that file?
Or does it happen with all files?

I’d try two things.

  1. Try the 3.5 beta. Go to Glyphs > Settings > Updates, activate both checkboxes and press the Update button.
  2. Try Glyphs in a different user. If the hangs don’t occur then, try the steps in the Crashes tutorial.

The last two fonts where this happened have 1180, and 240 glyphs, respectively. So does not seem to be related to the number of glyphs.

It seems to happen randomly as well, or I’m not seeing the pattern. It started rather recently and I did update the OS a few days ago (a maintenance update, not between major versions) and Glyphs have not been updated in a while I think. It happened also on two different machines. The other machine has not been updated, though (OS 15.7.2 (24G325)).

I’m intentionally not using cutting edge versions. But the issue did not happen again since I reported this. If it happens again, I’ll try the latest cutting edge version.

You can also install the latest cutting-edge release in addition to the regular Glyphs installation by downloading it directly, running and testing it, and then deleting the cutting-edge.

1 Like

I think the freezes are related to use of “Metrics Keys Invalid” in a smart filter. That is the only thing common between the two installations and the only thing that changed recently since I didn’t have such smart filter before. The application would often freeze when I try to use that filter, or when I’m using it then switch to another filter or no filter at all. The filter also seems to behave weirdly, it sometimes shows no number at all, or shows a number but switching to it shows no glyphs.

I also get this regularly. I get this error popup:

This happens just after I make an outline into a component (thus invalidating the filter, which I am currently using in Font view). Once I try to save the file, Glyphs freezes completely and I need to force quit.

I can’t reproduce the hangs with, yet. It would be great if you could send me a minimal setup that triggers it for you?

I just tried it. The problem is that the filter in not updating while Glyphs is running. I’ll have a look.