Unsaved options

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Unsaved options

#1 Post by vincele »

Hello,
is there a reason explaining why the GALAXY_MAP_ZOOM_SLIDER & GALAXY_MAP_POPUP options are not saved between runs ?
This made me ask WTF, some options are properly saved and others not ??? So after a bit of searching, the following patch happened. Anyone against that ?

[The extension diff has been deactivated and can no longer be displayed.]

All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Unsaved options

#2 Post by vincele »

Forget about that patch it's wrong and its description also. I was misled into thinking my options were not saved when the option store was recreated from under me...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Unsaved options

#3 Post by Dilvish »

vincele wrote:...when the option store was recreated from under me...
In Linux I think config.xml is rewritten to default whenever cmake runs. I'm not sure how it goes on the other platforms.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Unsaved options

#4 Post by vincele »

Yes, I think that was what bit me in the ass...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

Post Reply