Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random files are generated, and become unresponsive #2401

Closed
enathu opened this issue Jul 1, 2015 · 25 comments · Fixed by #2407
Closed

Random files are generated, and become unresponsive #2401

enathu opened this issue Jul 1, 2015 · 25 comments · Fixed by #2407

Comments

@enathu
Copy link

enathu commented Jul 1, 2015

When working on a font, FontForge keeps storing new files with the extension of *.sfd-[number] in the same directory - Here the [number] is a variable but serial numbers. After some point, FontForge becomes unresponsive. Usually I need to end task using Task Manager, and restart FontForge to work again.

I am using Windows 8.1, and 2015-06-12 FF Release. Here is the screenshot of how it looks with the files created by FF. fontforge

Is it anything to do with AutoSave? or any fix available to stop this file generation?

Thank you.

@jtanx jtanx added the Windows label Jul 1, 2015
@jtanx
Copy link
Contributor

jtanx commented Jul 1, 2015

Strange. Do you know if this happened with any of the older versions of FontForge?

@enathu
Copy link
Author

enathu commented Jul 1, 2015

In older versions, I experienced crashes repeatedly. But haven't seen any file generation like this. I only saw this file generation with 2015-06-12 FF version.

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015

The Revisions to Retain preference is here, set it to 0:

screen shot 2015-07-01 at 9 52 08 am

@enathu
Copy link
Author

enathu commented Jul 1, 2015

Hi @davelab6 I have set it to 0 and tried with a new file, and it keeps generating the files. So, I went to the preferences and checked, but it showed 32. So, again I set RevisionsToRetain to 0 and the files started to generate. And the 0 now became 32 in the preferences. The cycle continues. Any idea, please?

@jtanx
Copy link
Contributor

jtanx commented Jul 1, 2015

Do you have any non-English/non-ASCII characters in your install path?

@jtanx
Copy link
Contributor

jtanx commented Jul 1, 2015

Also the preferences box is a bit strange - how are you saving the preferences? If you click on the 'X' button it will not save preferences - you have to press 'enter' to save

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015

When you change the setting in the UI, quit FF and check the prefs file, and see if it is 0 there

@enathu
Copy link
Author

enathu commented Jul 1, 2015

@jtanx No, I haven't got any non-English/non-ASCII characters in path.

Oh, that's strange. I really thought that 'Preferences' works like the Glyphs app, 'Font Info' dialog box, and I did save by clicking on the 'X'. So, now I used the Enter key to save it. So, it isn't saving any files in the there. Thank you for the enlightenment.

Do you think, does this file generation directly related to the unresponsiveness of FF? I'll keep you posted on this as I am going to work on FF, and see.

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015 via email

@enathu
Copy link
Author

enathu commented Jul 1, 2015

@davelab6 @jtanx Is there any particular reason, not to have an OK or Save button in the Preferences dialog, since the most of the FF dialogs have buttons to commit the changes? I am curious. :)

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015

There is an OK Button :)

screen shot 2015-07-01 at 3 19 56 pm

@enathu
Copy link
Author

enathu commented Jul 1, 2015

But, in Windows, there is no OK button, it seems. This is what I got in the UI. Please check.
ff-preferences-win

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015 via email

@enathu
Copy link
Author

enathu commented Jul 1, 2015

I have dragged the window size to the entire height of the screen, and I don't see the buttons there. May be, I wonder that's why @jtanx was suggesting to use Enter key in his previous comment, #2401 (comment) Here is the screenshot of dragged window.

ff-dragged

@davelab6
Copy link
Member

davelab6 commented Jul 1, 2015 via email

@jtanx jtanx added the I-bug label Jul 3, 2015
@enathu
Copy link
Author

enathu commented Jul 5, 2015

Update - By setting RevisionsToRetain to 0, I can report that the unresponsiveness/crashes are considerably low. Working with FF for last three days, I came across only five crashes, which is very low compared to the early situation. All of the crashes were sudden termination with 'not responding' dialog box, while working in Editing view.

davelab6 added a commit that referenced this issue Jul 5, 2015
@davelab6 davelab6 mentioned this issue Jul 5, 2015
@jtanx
Copy link
Contributor

jtanx commented Jul 5, 2015

If any of these crashes are repeatable, it would be great if you could outline what you did to make it happen so that they can be fixed. Thanks!

@enathu
Copy link
Author

enathu commented Jul 6, 2015

@jtanx Sure, I'll make sure to specifically capture the point of the crash when it happen again. While, I have noticed the crashes often occur when I draw with the pen tool, and move anchor points -- the Editing view window freezes with 'not responding' Windows message box, and FF crashes, subsequently. But. the frequency is totally random, I reckon.

@ctrlcctrlv
Copy link
Member

Hi, one thing. It's not weird at all the behavior he's experiencing with the preferences box. He has one of those 1366x768 monitors, so the boundry of his screen is actually smaller than the boundry of the window.

preferences

The window is hard coded to be this size. It should probably not be so large, and a scrollbar should appear sooner.

@davelab6
Copy link
Member

@enathu any luck in finding those crashes?

@enathu
Copy link
Author

enathu commented Jul 20, 2015

@davelab6 Frequency of crashes is very low after setting RevisionsToRetain to 0. However, as I already mentioned (#2401 (comment)) that I only had couple of crashes after this setting change, which are totally random, and only occurs with sudden 'not responding' message. I suspect that moving anchor points using arrow keys with ctrl causes a lag in the Editing View UI, and ultimately makes the FF unresponsive. But, it's not always happening. It's just random. I'll keep you posted on this.

@pathumego
Copy link
Member

@enathu Any news?

@pathumego
Copy link
Member

@enathu SHall I close this? Any updates?

@enathu
Copy link
Author

enathu commented Aug 29, 2015

@pathumego I am using the latest build (24.08.2015) -- I haven't seen any crashes so far. For the time being, I think, we can safely close this issue. Since, there is an open issue (#2149) on Preference Window size issue raised on this thread. So, I am closing this for the time being.

@enathu enathu closed this as completed Aug 29, 2015
@pathumego
Copy link
Member

@enathu Thanks!

This was referenced Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants