b2renger / PdDroidPublisher

Publish signed apk from your PdDroidParty patches
GNU General Public License v3.0
32 stars 7 forks source link

Save not work when values not inited #7

Closed mgsx-dev closed 8 years ago

mgsx-dev commented 8 years ago

This maybe not fixable (SSSAD limitation) but values not initiated will not be saved throw SSSAD.

Scenario :

I think SSSAD need to catch the recorded symbol at least once and maybe there is no other way to do so.

A workaround is to :

If this won't be fixed due to SSSAD limitation, at least write it in documentation (limitations / best practice)

b2renger commented 8 years ago

Yes you are right this is a "limitation" of sssad. If you don't send at least one value it's indeed not caught. This won't be fixable right now.

We ought to document this.

For the workarounds we can use init, I would prefer to advise users to build an init by messages with loadbang for all parameters that are saved. Or suggest to load a default preset on startup

b2renger commented 8 years ago

We've moved to persist saving system. The issue is still there we just need to document good practices for this.

mgsx-dev commented 8 years ago

new persist library faces the same limitation because of PureData : it would be possible to catch widget value at startup by banging send symbol but this not working for toggle (toggle switch its state when receiving a bang). So, it's impossible to get a symbol value in LibPD nor PureData desktop.

This limitation has to be part of "Patch Preset Documentation"