BoxedWine crashes when clicking inner close button
Opened this issue · 1 comments
SkiFree Game Freezes When Clicking Inner Close Button
Description:
In the daedalOS version of the SkiFree game, there are two dialog boxes – one representing the main game window and a secondary, inner dialog. When the inner close button is clicked, the game freezes completely. However, the rest of the webpage remains responsive. The game can be minimized without issues, but once frozen, it cannot be resumed.
Interestingly, if the game is closed via the outer dialog box, the game closes and can be restarted normally. This behavior seems to mimic a Windows 98-style window handling, as noted by the way minimize and resize work perfectly within the inner page.
Steps to Reproduce the same error:
- Open the daedalOS webpage here (dustinbrett.com).
- Launch the SkiFree game.
- Attempt to close the game using the inner close button (the smaller one).
- Observe the freeze in the SkiFree game, while the rest of the browser remains unaffected.
- Try minimizing or resizing the game – these functions work without issues.
- If the game is closed using the outer dialog box, it can be closed and restarted without freezing.
Expected Behavior:
Clicking the inner close button should close the game without freezing it, similar to the behavior when the outer dialog box is used.
Screenshots:
This is a known consequence of the way BoxedWine works. When the emulator opens, if you specify an exe to run, then that becomes the only thing keeping the emulator going. Once the app (ski32.exe) is closed, BoxedWine shuts down and nothing will work. If you want to go into BoxedWine you can access it from the Start Menu and then it will open with a taskbar.
I will look to see if I can find a way to detect BoxedWine halting and then close the entire app. But I don't think there is a way the emulator could recover from the main exe being closed.