Opened 11 years ago

Closed 11 years ago

Last modified 13 months ago

#3923 closed defect (fixed)

GUI: Returning to launcher may trigger an error

Reported by: eriktorbjorn Owned by: lordhoto
Priority: normal Component: GUI
Keywords: Cc:
Game:

Description

Latest SVN snapshot

I know the "return to launcher" feature has just been merged, so some teething problems should be expected. Here's one:

* Start ScummVM in 640x480 mode. (This means the launcher is running with a 2x scaler and aspect ratio correction. The screen height is 480 pixels.)

* Start a game that uses 640x480 pixels natively, e.g. The Curse of Monkey Island. (The game is running with the 1x scaler and, presumably, no aspect ratio correction. The screen height is 480 pixels.)

* Press F6 and Return to the launcher. (ScummVM goes back to 2x scaler, but still no aspect ratio correction. The screen height is 400 pixels.)

ScummVM terminates with "Widget <launcher_list> has y + h > 400 (457)!" If I change to a 2x scaler after starting CoMI, the error is instead "Widget <launcher_list> has x + w > 640 (1126)!"

Ticket imported from: #2089275. Ticket imported from: bugs/3923.

Change History (4)

comment:1 by lordhoto, 11 years ago

It doesn't crash for me with that error with current SVN, but still it's only 2x without aspect correction after returning to the launcher.

comment:2 by lordhoto, 11 years ago

Owner: set to lordhoto
Resolution: fixed
Status: newclosed

comment:3 by lordhoto, 11 years ago

I committed a patch which should take care of setting aspect correction and fullscreen correctly after returning to the launcher.

comment:4 by digitall, 13 months ago

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