OpenAero / main

Aerobatic sequence creation software
https://openaero.net
GNU General Public License v3.0
15 stars 7 forks source link

Saving / Caching Drawing Styles #262

Open Dirk07 opened 1 year ago

Dirk07 commented 1 year ago

Hi @OpenAero ,

a friend of mine reported to me that any drawing styles, once changed from the default values, are apparently not saved / cached in the browser cache, unlike other settings that are remembered when openaero.net is called again through the browser, i.e. the setting for figure-numbers in entry circle.

I was able to reproduce and confirm this.

However, I'm not sure, whether this "auto-default-style" is intended or it has been foreseen to include also the drawing styles in the cache, but did accidentially not work.

On the other hand, if this is intended, the user must be given the option to save and load his settings (in particular the excessive settings for drawing styles) and preferences manually in a file, other than the sequence-files, of course.

Best regards, Dirk

OpenAero commented 1 year ago

The reversion of drawing styles to the default is intended. This prevents a user from having different styles by default, and in time possible forgetting they changed the style. When then creating and submitting sequences, these could come out very different from intended.

However, saving and then again loading changed settings sounds like a very useful addition. This should be implemented in the next update.

Dirk07 commented 1 year ago

A competing (but not excluding) request to add the option of saving / loading such a setting file is to move the most frequently used drawing styles 'pos', 'neg', 'posfill' and 'negfill' to the style tab, where roll text size is to be selected. Apparently these settings are rather more frequently used by pilots, wearing glasses. The sheer amount of remaining style settings in the expert tab is anyway overwhelming and perhaps not so often used, while at the same time it could be simpliefied, i.e. by introducing more general line-widths. A tabular form of these settings could fuether improve the appearance.

Another quick alternative to both proposals is to introduce only a 'I know what I do'-button to the expert tab, allowing to cache all the drawing styles.

OpenAero commented 1 year ago

Saving and loading of settings has been implemented. I don't like overcrowding the settings with many separate drawing options. But will keep this issue open regarding the other suggestions .