collin80 / SavvyCAN

QT based cross platform canbus tool
MIT License
1.04k stars 288 forks source link

Connetced devices do not persist #489

Open catphish opened 2 years ago

catphish commented 2 years ago

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.

collin80 commented 2 years ago

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.

catphish commented 2 years ago

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

jsphuebner commented 1 year ago

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

collin80 commented 1 year ago

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.