fredldotme / harbour-owncloud

A modern cross-platform client for Nextcloud, ownCloud & WebDav.
GNU General Public License v2.0
42 stars 21 forks source link

List of accounts doens't refresh when adding a new account, requiring an app restart to access the newly added account #79

Open PureTryOut opened 5 months ago

PureTryOut commented 5 months ago

After adding a new account (in the plain Linux desktop version) the list of accounts doesn't refresh. This caused me to think the account hadn't been added at all but luckily it appeared after I restarted the application.

fredldotme commented 5 months ago

What's the console output saying when the account is added? Might be access to an invalidated native object. Otherwise would require a simple refresh on account creation itself.

PureTryOut commented 5 months ago

I'd love to tell you but I'd first need to remove the already added account to check, but I see no way to do that. Is there a way that does not involve removing the SQLite database manually?

fredldotme commented 5 months ago

Surprised long-pressing doesn't give an option. Might be a regression in the generic AccountDb...

PureTryOut commented 5 months ago

Oh no that worked, I just didn't think of it :sweat_smile:

So after creating the account nothing appeared in the terminal sadly, no indication of any errors. I'm guessing it just needs to refresh.