Opened 10 years ago

Closed 10 years ago

#2310 closed defect (fixed)

[PATCH] Graphic settings aren't saved between different executions

Reported by: José Manuel Santamaría Lema Owned by: José Manuel Santamaría Lema
Priority: Nice to Have Milestone: Alpha 16
Component: UI & Simulation Keywords:
Cc: Patch:

Description (last modified by Josh)

Graphic settings aren't saved after you close the game, so if you had disabled shadows you have had to set that again each time you executed 0AD.

Santa is working on a patch.

Attachments (2)

0ad_save_graphics_settings.diff (5.6 KB ) - added by José Manuel Santamaría Lema 10 years ago.
0ad_save_graphics_settings_v2.diff (15.8 KB ) - added by José Manuel Santamaría Lema 10 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by Josh, 10 years ago

Description: modified (diff)

comment:2 by José Manuel Santamaría Lema, 10 years ago

Keywords: patch review added

comment:3 by José Manuel Santamaría Lema, 10 years ago

NOTE: in options.xml the code was indented with four spaces, this contradicts the coding conventions explained here http://trac.wildfiregames.com/wiki/Coding_Conventions but that was done like that because the entire file is currently indented with four spaces. Also, maybe the code should be moved to a *.js file?

by José Manuel Santamaría Lema, 10 years ago

comment:4 by José Manuel Santamaría Lema, 10 years ago

Summary: Graphic settings aren't saved between different executions[PATCH] Graphic settings aren't saved between different executions

comment:5 by sanderd17, 10 years ago

Milestone: BacklogAlpha 16

The patch works for shadows, but it's quite obvious we would need it for all other settings too. Can you do that?

IMO, it's no good idea to save one setting, and forget another, as it will cause confusion.

by José Manuel Santamaría Lema, 10 years ago

in reply to:  5 comment:6 by José Manuel Santamaría Lema, 10 years ago

Replying to sanderd17:

The patch works for shadows, but it's quite obvious we would need it for all other settings too. Can you do that?

See the new attached patch 0ad_save_graphics_settings_v2.diff​, is that what you mean? Something else?

IMO, it's no good idea to save one setting, and forget another, as it will cause confusion.

comment:7 by scythetwirler, 10 years ago

This should be a higher priority, shouldn't it? Our users will be quite confused if the options dialog rests every execution.

comment:8 by Josh, 10 years ago

Replacing the in-game options menu with the one from the main menu would work best in my opinion.

comment:9 by JoshuaJB, 10 years ago

In 14967:

Add some more GUI graphics settings while fixing some persistence issues. Refs #2310

comment:10 by Josh, 10 years ago

Keywords: patch review removed
Resolution: fixed
Status: newclosed

Superseded by r15007.

Note: See TracTickets for help on using tickets.