-
Notifications
You must be signed in to change notification settings - Fork 37.6k
gui: Add Open External Wallet action #15204
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
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Concept ACK, but let's put this in the Open Wallet sub menu. You could put a separator underneath the list of known wallets and then call the menu item "Open file...". I don't like the word "External" because it could get confusing if we add (e.g.) hardware wallet support. |
@Sjors how about: |
Yes, this looks ideal to me |
5183216
to
a3732f3
Compare
Updated. |
a3732f3
to
b537d29
Compare
Updated, still rebased on #15195. |
tACK b537d29, but note that you can only open directory based wallets |
@Sjors right, and it looks like a pain to try to open both with Qt 😕 |
Is this for 0.18? |
Needs rebase because Open Wallet got merged. That shouldn't impact my earlier tACK, |
b537d29
to
6cdf236
Compare
6cdf236
to
e9a22ff
Compare
e9a22ff
to
d6d0191
Compare
Needs rebase |
@promag Given that this is tagged for |
Yes, different PR I guess. |
@promag Thanks for the update. While testing f60f80e, I reproduced the issue mentioned above on Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux. Opening a wallet-less folder causes the GUI to display the error (all good) but then a second later the GUI attempts to open the wallet anyway and hangs in this state. Reproduced several times with different locations and directories. Same GUI hang issue when opening a wallet dir moved to ~/ and wallet.dat file inside touched to be empty: In both cases, quitting the GUI unhangs the wallet but the wallet hangs until I quit for at least several minutes. |
Copying a wallet dir elsewhere with a different name but same wallet files inside, and attempting to load it in the GUI (EDIT: this is a separate issue that has been reported and a PR has been proposed):
Screenshot of a wallet successfully loaded after I moved it from ~/.bitcoin to ~/ with an ampersand (&) displayed correctly in the title bar and the open wallet list: (FWIW a GUI wallet dark mode would be great). |
@jonatack regarding the "duplicates fileid " crash see #16776 (comment) |
@jonatack just to be sure, if you repeat the above tests with |
Tested a bit. I think either we allow to select wallet.dat files or inform the user that only wallet-directories are allowed ("select a wallet folder"). |
I like that. |
f60f80e
to
fd60c53
Compare
fd60c53
to
60b3947
Compare
If you make |
Needs rebase |
Needs addressing comments or should otherwise be closed. |
Will rebase and open in gui repo. |
I've tried to support selecting files and folders but this kind of sucks because in order be intuitive it needs non native file dialog - it allows to set a proxy model. Anyway, I think the best approach, and considering sqlite wallets, selecting wallet.dat is indeed the best option for the moment. |
This PR adds the ability to open external wallets on the GUI.