andrewdavidmackenzie / pigg

Raspberry Pi GPIO GUI
Apache License 2.0
207 stars 8 forks source link

Add a way to cancel a connection attempt #472

Open andrewdavidmackenzie opened 1 month ago

andrewdavidmackenzie commented 1 month ago

When you try to connect to a remote pi, if the information is not correct or node is down or not reachable, then the UI is effectively blocked and you have to kill the app and start again.

What we should try and do is:

andrewdavidmackenzie commented 1 month ago

If during a connection attempt, the dialog is closed using some other mechanism (such as ESCAPE key) then catch that and also cancel the connection attempt in background, and close the dialog as the user expects.