Opened 14 years ago
Closed 14 years ago
Last modified 4 years ago
#4429 closed defect (fixed)
GUI: strange behaviour when closing window in debugger
|Reported by:||wjp||Owned by:||wjp|
If the debugger console is open, and I press the 'close' button on the ScummVM window, strange things happen in some engines.
In SCUMM, AGI, AGOS and Tinsel, ScummVM quits as expected. In Sky, the dialog remains visible, the mouse cursor turns black, and 2 seconds later ScummVM quits. In SCI, the dialog remains visible, but things continue as usual. Doing this too often causes a DialogStack overflow.
Ticket imported from: #2823731. Ticket imported from: bugs/4429.
Change History (7)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
I think the problem with SCI is that it doesn't notice the "quit" event, since it's caught by the console window, not the SCI engine. Rather than capturing the event, it should probably call the Engine::shouldQuit() function. I'm just not sure where and how.
comment:3 by , 14 years ago
I see you added a call to shouldQuit(). Did it help with this bug?
comment:4 by , 14 years ago
Yes, it did, thanks.
The behaviour in BASS is still somewhat confusing, but probably not worth adding workarounds for.
comment:5 by , 14 years ago
|Status:||new → closed|
comment:6 by , 14 years ago
comment:7 by , 4 years ago
The Beneath a Sky thing is probably because the game displays a farewell message for a little while before quitting. (I don't know about SCI, I haven't even enabled it yet in my local build.)