-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
"I already have a profile" > "Paste from Clipboard" hangs at "Add as Second Device" popup #4171
Comments
The fact that you get the "Scanned QR Code text: ..." indicates that whatever is in the clipboard is not a good QR code for transferring an account. But I am not sure why you still get a popup with a progress bar. valid.QR.mp4invalid.QR.mp4 |
BTW thanks for reporting all the issues! |
I copied it without whitespace now, so that popup is no longer showing! So the code might be correct at this point. Sadly, I'm pretty good at accidentally triggering corner cases that weren't tested before 😂 (About the issues: Delta Chat looks really promising, so I'm giving whatever feedback I can that might be useful) |
Is there more log detail that I could possibly enable? It seems like the default log is somewhat bare, so if there's an option to add details so you can figure out the problem, maybe I should give that a try. |
You may start deltachat with Also if you want you can also try to build from source, that way you could test if the current version on the main branch has already solved the issues. |
I tried Is there some potential workaround to device linking getting stuck like this? I would like to use Delta Chat more during the day since it seems promising, but since I can't currently access it on my portable devices I'm held back for now. |
Workaround is to get to "Chats and Media", then "Export Backup". Then transfer backup over USB to the phone and import it. Make sure to delete the backup file as it contains the key and login and password. |
|
I just tested v1.46.8 installed from flathub. Started |
We just merged fixes that make backup transfer progress bar more smooth (not jumping every time database or a blob is transferred, but continuously updating it every time there is a read/write call): deltachat/deltachat-core-rust#6027 Could be just waiting a bit more is sufficient. On my current account it took around 2 minutes until progress bar starts moving, but that is an old and large account with 600 M database. |
I let it sit for hours, so I don't think efficiency is the fundamental problem. |
@ell1e Do you by chance have some VPN or firewall enabled on mobile and/or phone? See similar #4179 issue. I think we need to improve the text "Make sure both devices are on the same Wi-Fi or network" to say that you also need to disable VPN and firewall. Users who have a VPN not necessarily know it prevents local connections in a LAN. Another related usability problem is that users expect to "log in" (like e.g. in a website or typical "cloud" messenger such as discord, slack or telegram) on a new device without even having the old device around, but when they click "I already have a profile" -> "Add as second device", they only get a QR code scanner and a very brief instruction. |
The logs, at least on the 1.46.8 version currently in flatpak, are not very useful. Normally log looks like this:
But if connection is not established, then even "Sending backup authentication token." is not there. |
Update: thi time it's actually a different problem and the backup restore always worked, I just didn't see: #4214
|
Should this issue be closed in favor of #4214 then? |
I assume the original issue when using the "Paste from Clipboard" workflow is still present. But since I used the restore from backup workaround now (which #4214 impacted), I got everything working but I don't think the paste problem was actually fixed. |
so what can be done to avoid this from happening is to strip the string before processing it (ideally core would do this and not every UI) |
please reopen if there is something actionable left todo (core pr is merged deltachat/deltachat-core-rust#6243) |
When I choose "I already have a profile" > "Paste from Clipboard", then I get an "Add as Second Device" popup with an empty progress bar and nothing happens even after hours of waiting.
2024-10-03-05-14-30.log
The text was updated successfully, but these errors were encountered: