Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1937 closed bug (fixed (in master))

OS X: Window size/visibility preferences don't always persist

Reported by: myshkin Owned by:
Milestone: 4.0 Keywords: mac
Cc:

Description

If I resize a window and quit with command-Q, the size gets written to defaults and returns on next application start. However, if I quit with control-X, the changes don't get saved.

Change History (4)

comment:1 Changed 3 years ago by nckmccnnll

The comment on line 3351 of main-cocoa.m looks like a clue, but I don't know what to do with it

comment:2 Changed 3 years ago by nckmccnnll

To clarify:

  • (IBAction)saveGame:sender

{

/* Hack -- Forget messages */
msg_flag = FALSE;


/* Save the game */
save_game();


/* Record the current save file so we can select it by default next time.

  • It's a little sketchy that this only happens when we save through the
  • menu; ideally game-triggered saves would trigger it too. */

record_current_savefile();

}

indicates that saving the game by control-S isn't the same as saving from the menu either.

comment:3 Changed 3 years ago by nckmccnnll

  • Resolution set to fixed (in master)
  • Status changed from new to closed

Looks fixed in f39ae80

comment:4 Changed 3 years ago by nckmccnnll

Make that d43516d

Note: See TracTickets for help on using tickets.