LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client
MIT License
256 stars 14 forks source link

[BUG] - The application does not close #247

Closed SimoLRepo closed 1 year ago

SimoLRepo commented 1 year ago

Describe the bug By clicking one or more times on the "back" button in the navbar of my smartphone, the application does not close.

To Reproduce Steps to reproduce the behavior:

  1. I download Destiny from F-Droid
  2. I open the application
  3. I transfer any file with another device
  4. Click the "back" button in the navbar
  5. The application window remains open, in order to close it I have to forcibly stop the background process

Expected behavior Once the "back" button on the navbar is clicked twice consecutively the application closes (preferably its process too)

Screenshots Watch the preview here

App Version: 1.0.3

Smartphone:

Additional context The same behavior happens on my Smart TV

wuan commented 1 year ago

Thanks for reporting this. The back button seems to be disabled in many places by using

              onWillPop: () async => false,

To reproduce this behaviour you only need to open the app. We should be able to fix that, but we first need to find out why the back button behaviour has been disabled originally.

SimoLRepo commented 1 year ago

Bug not fixed yet, thanks anyway.