AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

'SMB Connection' dialog shows with an error message, but the connection is successfully established after canceling

Open ScenarioKG opened this issue 1 year ago • 1 comments

Describe the Bug

  • The loading spinner appears for a while.
  • The 'SMB Connection' dialog then displays with an error message: "Oops, something went wrong!"
  • However, after dismissing the dialog by clicking the 'CANCEL' button, the SMB connection is still created successfully, as seen by clicking the hamburger icon.

Steps to Reproduce Click the '+' icon. Click the 'Cloud Connection' button. Select 'SMB Connection'. Click 'USE CUSTOM IP'. Enter a server IP address in the 'Server IP Address' text field (e.g., 'test.com'). Click the 'CREATE' button. When the 'SMB Connection' dialog appears with an error message, click 'CANCEL'. Open the hamburger menu to check the connection status.

Expected Behavior

  • It should not display an error message if the connection is successful.
  • If the connection fails, the SMB connection should not be created after clicking 'CANCEL'.
  • The loading spinner should display for an appropriate duration, and the success or failure of the connection should be accurately reflected.

Screen Recording

https://github.com/user-attachments/assets/7d72dffa-6bc3-4dd9-aa3a-059fd7d8d83b

Smartphone (please complete the following information):

  • Device: Google Pixel 5
  • OS: Android 14
  • Rooted: No
  • Version: 3.10

ScenarioKG avatar Dec 19 '24 19:12 ScenarioKG

Upgrading to bug as cancel button should cancel.

EmmanuelMess avatar Mar 18 '25 00:03 EmmanuelMess