When you click on an alias to a database, and it comes up with the connecting dialog (I guess with auto connect turned on??), it immediately goes to connecting with a disabled connect button and an ENABLED cancel button... however the cancel button doesn't work. I guess the button is not there so that you can cancel the connect in progress, but maybe if autoconnect were not turned on, you could back out(?). Anyway, it would actually be nice if you could cancel at this point, however if you don't want to do that, I think the buttons should not even be there at all if they have no purpose.
Sorry, I cannot reproduce your problem. But on account of this bug I did several refactorings and some changes that may affect your problem. You may want to try the following snapshot:
https://sourceforge.net/projects/squirrel-sql/files/3-snapshots/snapshot-20240519_2318/
or
https://github.com/squirrel-sql-client/squirrel-sql-snapshot-releases/releases/tag/snapshot-20240519_2318