dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
355 stars 33 forks source link

Hangs when quiting from dock context menu #266

Closed troydm closed 6 years ago

troydm commented 7 years ago

VirtualC64 1.5.2 hangs on latest OSX El Capitan 10.11.6 when I press quit by right clicking in Dock on the icon and then clicking on Quit, after the Save dialog. If I quit from Menu it exits without any issues

update: sometimes it hangs even when I quit from menu

dirkwhoffmann commented 6 years ago

Does it still hang? It seems to work well on High Sierra 10.13.2.

troydm commented 6 years ago

@dirkwhoffmann yes unfortunately on El Capitan 10.11.6 it's still hangs as described

dirkwhoffmann commented 6 years ago

The initialization and shut down procedures have been changed considerably in V1.8, so there is a big chance that the bug is eliminated. I'm closing this issue in the hope that it's really fixed. Unfortunately, I cannot reproduce the issue on my machines (all are running HighSierra).

troydm commented 6 years ago

Actually in newer version this bug is fixed however another problem with screen appears but it's a different bug I guess

dirkwhoffmann commented 6 years ago

What is the symptom of the new bug?

troydm commented 6 years ago

@dirkwhoffmann this is what I see when I start v1.8 on El Capitan: https://i.imgur.com/hmCMnqH.jpg this doesn't happens on v1.6 on El Capitan

And also this doesn't happens on High Sierra with v1.8 either

dirkwhoffmann commented 6 years ago

OK, I see. It seems that the emulator uses wrong window parameters when it calculates its 3D projection matrices on start up. Does the problem go away if you resize the window manually?

troydm commented 6 years ago

@dirkwhoffmann nope, the size stays the same

troydm commented 6 years ago

@dirkwhoffmann latest 1.8.1 update fixed the window issue, now everything works correctly, thanks alot