keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

Sync spinner not cancelable

Open djechelon opened this issue 4 years ago • 4 comments

Today I had an issue related to network connectivity. I'll speak about the video in the end.

How to reproduce

  1. Set up Keepass2Android to "know" a remote SFTP password file. I used biometric authentication but it doesn't really matter. Step 1 makes sure that K2A has a cache of the file
  2. Mock network to be particularly slow/unresponsive. I was under 4G in an area where you can't watch SD live TV. Some kind of a "fake" 4G or just too much traffic
  3. Now open K2A and log in to the password file, e.g. by typing password
  4. K2A will open a modal spinner to tell that it is loading the remote file to ensure the cached copy is consistent
  5. Try to "back", it won't work

I couldn't go "back" and I had to kill the application from drawer in order to regain control.

Device and OS: Pixel 5 with AOSP 11.

On my second attempt I made a video by screen recording, but that time the network resumed operation so while you could see that you can't "back" from that spinner, it took a few seconds to sync.

I am not sure about the timeout of the operation. I had quickly looked at the source code but I can't find the name of the "main" activity. I would love to post a video, but I'd really prefer to amend several useless personal information being displayed (including the SFTP urls of known files)

djechelon avatar May 03 '21 20:05 djechelon

Screenshot_20210913-162329370 I have a similar problem too When I unlock my device while it syncing it viewed as in screen... No option to cancel. Just I lost my changes...

alexpalyan avatar Sep 13 '21 13:09 alexpalyan

I have a similar problem. I have an sftp server set up only on my LAN. Saving there works fine. But if I got outside my LAN, I don't want to save to the network store and when making a change, it says "Working... Saving database..." and just spins for a really long time. Back button doesn't work to cancel. I think there needs to be a better timeout (or a user definable one) for this.

TD22057 avatar Oct 28 '21 01:10 TD22057

  • #1512
  • #1541

Screenrecord.gif

I had the same when using a hotel wifi which did not allow connection to my ssh file. Using the cached version only would be very ok for me.

HolgerJeromin avatar Jul 10 '22 18:07 HolgerJeromin

resolved in https://github.com/PhilippC/keepass2android/releases/tag/v1.10-pre

PhilippC avatar Nov 21 '23 12:11 PhilippC