makehumancommunity / makehuman

This is the main repository for the MakeHuman application as such.
http://www.makehumancommunity.org
Other
1.18k stars 244 forks source link

Fix freezing About / License dialog on macOS #167

Closed threos closed 3 years ago

threos commented 3 years ago

About / License window caused the program to hang on macOS. As soon as you click the "About / License" button, the program would become unresponsive. I removed the following block to open that dialog in a new window:

if sys.platform.startswith('darwin'):
    self.setWindowFlags(QtCore.Qt.WindowTitleHint | QtCore.Qt.WindowSystemMenuHint)

Now it doesn't become unresponsive. The window still has some performance problems, and it feels a bit laggy but it doesn't affect the main window and you can close it.

joepal1976 commented 3 years ago

Thanks. Looks sensible to me, although I don't have the means to test it.