cryptee / web-client

Cryptee's web client source code for all platforms.
https://crypt.ee
Other
444 stars 22 forks source link

[Bug] Rapidly creating new subfolders breaks the active session's in-memory parent/children folder structure #61

Closed domanteli0 closed 4 years ago

domanteli0 commented 4 years ago

Describe the bug

Then creating a lot of new folders rapidly whose folders disappear until you leave and open that folder again.

To Reproduce

  1. Open a folder
  2. Click on 'create new folder' semi-rapidly (about every 0.25-0.5 secs).
  3. Wait for it to disappear.

Expected behavior I expect the subfolders to not disappear.

Screenshots gif1

System Information (please complete the following information):

Additional context Just noticed that this also happens (and on Android too) (can be fixed by just reloading the page): gif0

johnozbay commented 4 years ago

Hi again! πŸ‘‹πŸ»

Thank you so much for filing this bug & the screen recordings! πŸ™πŸ» Looks like while introducing sub-folders ( #2 ) I've missed one tiny edge-case! – and that caused a chain reaction and broke a few things if one were to click new subfolder button too quickly.

I've fixed this in the upcoming release, and it will be out in a few days with the upcoming update!

Our bug tracker will automatically close this issue when the new version is out, and you should get a notification from github! Needless to say, please do let me know if it's not fixed / fixed partially / incorrectly and I'll get it all fixed up ✌🏻

All the best, J