SavvyCAN icon indicating copy to clipboard operation
SavvyCAN copied to clipboard

Connetced devices do not persist

Open catphish opened this issue 3 years ago • 4 comments

Using SavvyCAN on Linux I add a QT SerialBus Device (socketcan, can0), however this setting isn't persisted. Every time I open the application I have to re-add the device. Clicking "Save Bus Settings" doesn't seem to have any impact. This isn't a huge problem but it would save a lot of time if this configuration could be saved.

catphish avatar Aug 26 '22 19:08 catphish

Yes, unfortunately it doesn't always seem to work that well. It all should be redone again. As luck would have it, I've been in the vicinity of that code recently as I add another adapter type (lawicel compatible devices) so I should be able to revamp things and get them to actually work this time.

collin80 avatar Aug 31 '22 01:08 collin80

Thank you, it would be very convenient if this worked :slightly_smiling_face:

catphish avatar Aug 31 '22 08:08 catphish

Good to see it's not just me ;) Just compiled the latest code and it is not persistent. I think it is saved to .config/EVTV/SavvyCAN.ini under the [connections] section but then not loaded

jsphuebner avatar Sep 05 '23 09:09 jsphuebner

Ooops... well, the above fixes never happened. I guess it slipped my mind as I nearly never want to retain the list of previously connected adapters and so I haven't been annoyed by this enough to fix it. I've labeled it as a bug now, hopefully that will help to remind me to work on this. Sadly I just haven't worked on SavvyCAN that much in the last couple of years. I'm hoping to get back to it some time soon.

collin80 avatar Sep 06 '23 02:09 collin80