antares-sql / antares

A modern, fast and productivity driven SQL client with a focus in UX
https://antares-sql.app
MIT License
1.79k stars 122 forks source link

Connection folder structure sometimes gets confused #823

Open bart-schaefer opened 3 months ago

bart-schaefer commented 3 months ago

Antares 0.7.23 MacOS

Sometimes a folder will become unresponsive -- cannot be opened, or if open, cannot be closed. In the latter case it's also not possible to interact with the individual connections in the folder. The connections can still be used via the "All Connections" dialog.

This is "fixed" by exiting/restarting Antares, but the folders and un-foldered connections don't always reappear in the same top-to-bottom order that they had before exiting.

To Reproduce Unable to reproduce by any particular sequence. Happens once in a very long while after leaving Antares open for several days.

It might be related to using the "Move To >" menu to put a new connection into a folder, because it seems as though the last folder that got into this state was one into which I had previously moved a couple of connections.

bart-schaefer commented 3 months ago

Update: After the most recent restart of Antares, I now can't use any of the saved connections. Startup generated this:

Screen Shot 2024-06-26 at 12 10 21 PM

And now each time I open a saved connection and click "Connect" I get another instance of that same message.

bart-schaefer commented 3 months ago

A second exit/restart appears to have fixed the "Cannot read properies" errors.

Fabio286 commented 3 months ago

Update: After the most recent restart of Antares, I now can't use any of the saved connections. Startup generated this: Screen Shot 2024-06-26 at 12 10 21 PM

And now each time I open a saved connection and click "Connect" I get another instance of that same message.

I think this issue is related to #490.

Regarding the main topic of this issue, I am implementing an in-app console where to print all error messages from the application. The goal is to make it easier to report problems and resolve them, even in cases like this where it is almost impossible to replicate the problem.