AmazeFileManager
AmazeFileManager copied to clipboard
'SMB Connection' dialog shows with an error message, but the connection is successfully established after canceling
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
Upgrading to bug as cancel button should cancel.