Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(re-encryption): make sure loading screen is shown when re-encrypting #10355

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

jrainville
Copy link
Member

Fixes #10352

Adds a 1 second timer before re-encrypting, to make sure the loading screen is shown before it starts, since it can freeze.

Do note that this is on top of the release branch. I'll cherry-pick on master once it is merged.

I have not tested with an actual big re-encryption yet, but I could reproduce the issue with a sleep and the timer fixed the freeze.

I'll test later on Windows.

Fixes #10352

Adds a 1 second timer before re-encrypting, to make sure the loading screen is shown before it starts, since it can freeze.
@jrainville jrainville requested review from a team, 0x-r4bbit, richard-ramos, alaibe, borismelnik and saledjenic and removed request for a team, 0x-r4bbit and richard-ramos April 18, 2023 18:19
@status-im-auto
Copy link
Member

status-im-auto commented Apr 18, 2023

Jenkins Builds

Click to see older builds (7)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c0f1614 #1 2023-04-18 18:25:16 ~5 min tests/nim 📄log
✔️ c0f1614 #1 2023-04-18 18:26:11 ~6 min tests/imports 📄log
✔️ c0f1614 #1 2023-04-18 18:27:21 ~7 min macos/aarch64 🍎dmg
✔️ c0f1614 #1 2023-04-18 18:29:31 ~9 min macos/x86_64 🍎dmg
✔️ c0f1614 #1 2023-04-18 18:32:41 ~12 min linux/x86_64 📦tgz
✔️ c0f1614 #1 2023-04-18 18:37:29 ~17 min tests/e2e 📄log
✔️ c0f1614 #1 2023-04-18 18:52:25 ~32 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a084ba2 #2 2023-04-19 17:27:06 ~5 min tests/imports 📄log
✔️ a084ba2 #2 2023-04-19 17:27:32 ~6 min tests/nim 📄log
✔️ a084ba2 #2 2023-04-19 17:30:24 ~9 min macos/x86_64 🍎dmg
✔️ a084ba2 #2 2023-04-19 17:32:56 ~11 min linux/x86_64 📦tgz
✔️ a084ba2 #2 2023-04-19 17:34:57 ~13 min macos/aarch64 🍎dmg
✔️ a084ba2 #2 2023-04-19 17:35:42 ~14 min tests/e2e 📄log
✔️ a084ba2 #2 2023-04-19 17:47:00 ~25 min windows/x86_64 💿exe
✔️ 28704b6 #3 2023-04-20 14:19:30 ~14 min macos/x86_64 🍎dmg
✔️ 28704b6 #3 2023-04-20 14:20:41 ~15 min tests/imports 📄log
✔️ 28704b6 #3 2023-04-20 14:21:50 ~16 min tests/nim 📄log
✔️ 28704b6 #3 2023-04-20 14:22:52 ~17 min linux/x86_64 📦tgz
✔️ 28704b6 #3 2023-04-20 14:29:29 ~24 min tests/e2e 📄log
✔️ 28704b6 #3 2023-04-20 14:33:58 ~28 min windows/x86_64 💿exe
✔️ 28704b6 #3 2023-04-20 14:38:13 ~33 min macos/aarch64 🍎dmg

@jrainville
Copy link
Member Author

I found an actual issue on Windows with the re-encryption. This PR is still nice, but it doesn't fix the issue completely for Windows

Copy link
Contributor

@saledjenic saledjenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anastasiyaig changes look good, but please test all login variants having 2 set up accounts and switch them.

@jrainville
Copy link
Member Author

I found the actual bug. It is fixed here in status-go: status-im/status-go#3411

I created a release branch on status-go, since we plan on creating a patch.

Waiting for the merge to update and point to the release branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the re-encryption loading screen appear before the re-encryption starts
4 participants