Opened 15 years ago

Closed 15 years ago

Last modified 5 years ago

#4429 closed defect (fixed)

GUI: strange behaviour when closing window in debugger

Reported by: wjp Owned by: wjp
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:


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 eriktorbjorn, 15 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.)

comment:2 by eriktorbjorn, 15 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 eriktorbjorn, 15 years ago

I see you added a call to shouldQuit(). Did it help with this bug?

comment:4 by wjp, 15 years ago

Yes, it did, thanks.

The behaviour in BASS is still somewhat confusing, but probably not worth adding workarounds for.

comment:5 by wjp, 15 years ago

Resolution: fixed
Status: newclosed

comment:6 by eriktorbjorn, 15 years ago

Owner: set to wjp

comment:7 by digitall, 5 years ago

Component: GUI
Note: See TracTickets for help on using tickets.