Photok icon indicating copy to clipboard operation
Photok copied to clipboard

[Bug] App Crash after password update

Open a-hamza84 opened this issue 9 months ago • 1 comments

Description: I was attempting to change the password. When the password was updated, it started re-encrypting all the photos, but I touched the screen elsewhere and the modal showing progress of re-encryption disappeared. Then I tried changing password again, the password updates and but App crashes on re-encryption.

Now I cannot even unlock the app. It crashes each time i enter the old password and it is not recognizingnew password.

How to Reproduce

Steps to reproduce the behavior:

  1. Unlock the app
  2. Go to Settings
  3. Go to Change Password
  4. Update password and start the re-encryption process. Password should ofbof strong type.
  5. Touch the screen anywhere except the progress bar and modal
  6. The modal should disappear
  7. Now try changing password again

Expected behavior The app should crash. And App should crash again when you attempt to unlock using old password.

Smartphone (please complete the following information):

  • Samsung Galaxy A52
  • One UI v5.1
  • Android Version 13

a-hamza84 avatar Sep 13 '23 07:09 a-hamza84

This was most likely caused by not all images being re encrypted fully. Core problem is that all processes are bound to their view lifecycle at the moment. #85 in intended to fix this. Adding this to backlog

leonlatsch avatar Sep 13 '23 12:09 leonlatsch