AshitaXI / Ashita

Issue tracker and wiki for the Ashita project.
https://ashitaxi.com/
6 stars 1 forks source link

[BUG] Saving addon settings #3

Closed ShiyoKozuki closed 3 years ago

ShiyoKozuki commented 3 years ago

Ashita Version (Type /ashita in-game to get this.) 4.0.02

FFXI Version (Type /version in-game to get this.) Topaz private server

Windows Version (ie. Start > About Your PC) 8.1

Describe The Bug Saving positional settings is a bit buggy.

Steps To Reproduce Load an addon. Move it's position anywhere. Unload addon - > reload addon. It now resets back to the default settings. Move addon again -> Unload addon - > reload addon, it now properly saves settings.

HealsCodes commented 3 years ago

There's no generic position saving for addons (outside of imgui windows), it would help to know which addon you encountered the bug with.

ShiyoKozuki commented 3 years ago

Any addon I've used using

ashita.events.register('unload', 'unload_cb', function ()
settings.save();
end);

Basically, I have yet to find an addon that this bug doesn't happen with.

atom0s commented 3 years ago

While I did mention already in Discord a while back that this was partially intentional at the moment, there were bugs preventing this from working properly altogether anyway. These should be fixed in the next update that is pushed now.

Some addons will not fully function as expected yet either until they are updated to save specific settings for things. This is, again, intentional at the moment since most things are still considered beta right now.

Developer reference: