Walletwasabi: Cannot copy/paste labels or addresses

Created on 26 Jul 2019  路  20Comments  路  Source: zkSNACKs/WalletWasabi

Hi,
I am running Wasabi 1.1.6 on a Debian9 vm within the QubesOS, and I am not able to paste a "Send to" address in the appropriate field. I can paste the address into a text editor on the same Debian instance, so the problem doesnt seem to be with my OS/clipboard. I've tried ctrl-v and "right-click:paste", and neither work within Wasabi. I do see Copy and Paste choices when I right-click on the desired field, but they do not function either for data within Wasabi or for attempts to copy/paste info to/from Wasabi/text editor.

EDIT: I just tried to copy/paste address labels and other info from one field to another within the wallet, and it appears my Copy/Paste functionality is disabled completely.

debug

Most helpful comment

All 20 comments

Yes, can reproduce on Qubes 4 + Debian 9! But afaik this is a qubes-only problem...

The workaround I use is that when you copy an address in the Receive tab, then right after do Ctrl+Shift+c to get it into the Qubes clipboard, and then in the Send tab do Ctrl+Shift+v, and then when you Ctrl+v it works.

However, there might be concern that a sensitive address is in the Qubes clipboard... So it would be nice to get a qubes specific fix.

Hi Max,
I've tried the "Qubes way" of copy/pasting between VMs in this issue, but that doesnt work for me.
I'll try your workaround, and also try to spin up a debian 9 instance that isnt in qubes to see what happens. My intuition was that this is Qubes-only issue, or it would have been noticed by someone much sooner. Personally, I have no issue with a sensitive address being temporarily in the Qubes clipboard. If I can't trust the isolation of the Qubes clipboard, I can't trust Qubes.

I have the same issue with Linux / i3wm / dotnetcore 2.2. Wasabi doesn't put anything into the clipboard.

@val-arg what Linux distro are you using?
if not qubes, then it might be an issue with i3 actually!

Can you please check if this issue is still present for you on master?
Because it is fixed for me, I think after #2108, but not sure if exactly that.

I can copy within one wasabi instance too, for example an address from the Receive to the Send tab, but only when I do ctrl+c and ctrl+v to get it into the dom0 clipboard.

@lontivero says this issue is present on his Ubuntu + i3.
So this might be both a Qubes AND an i3 issue.
But you can use the Qubes Dom0 clipboard to mitigate it.

@davterra are you using i3?

i3 processor? I doubt if that's what youre asking, but no....using i7.
This issue no longer exists for me, and I thought it had been closed.
Having said that, when I opened the issue I was using qubes.
Sadly, I had to switch back to running ubuntu in virtualbox, so my current
"no problem" status is not directly applicable to my original post.

Oh no, I'm sorry @davterra, I mean the i3 window manager

I've done the following test:

  1. Copy some text from this issue and paste it on Slack. it works. Paste the same on a terminal. it works.
$ xclip -o -selection clipboard
doubt if that's what youre asking

$ xclip -o -selection primary
doubt if that's what youre asking
  1. Copy a transaction hash from Wasabi. Paste it on a terminal. it works. Paste on Slack. It didn't work, it pasted nothing
$ xclip -o -selection clipboard
fdc4fe9ca36ce433ef60ecba15de64810617e2e0c171cabe73e08c6d0ba3be68

$ xclip -o -selection primary
doubt if that's what youre asking

Additionally, I've found that it is possible to paste from Wasabi to Slack just by clicking the mouse middle button (in my case it is a small wheel).

Finally, the selection where the transaction hash is, has the TARGET 4on (WTF!) while the primary one has many well-known targets.

$ xclip -o -selection clipboard -t TARGETS                                        
4on
xclip -o -selection primary -t TARGETS
TIMESTAMP
TARGETS
MULTIPLE
UTF8_STRING
COMPOUND_TEXT
TEXT
STRING
text/plain;charset=utf-8
text/plain

My conclusions

  1. What we copy to the clipboard from Wasabi wallet is stored in the CLIPBOARD selection, other applications like Firefox copy uses both CLIPBOARD and PRIMARY (it seems Avalonia does the correct thing here but I would consider saving the copied text in both too)
  2. The 4on is really weird and I was not able to find the meaning, if it has any.

This looks like an Avalonia problem simply because we have no low level access to the clipboard.

@danwalmsley dou you think I should open an issue in Avalonia?

@lontivero We should open an issue on Avalonia, and ping @kekekeks and @jmacato on the issue.

It sounds like its just some compatibility issue in the X11 backend.

Oh no, I'm sorry @davterra, I mean the i3 window manager

Thanks, Max.

I'm a C# noob, but have been using linux, tmux, and python for many years. I don't know how it is that I've never come across this tool. It looks like "tmux on steroids". I even googled "i3" before I asked you about it, and nothing other than Intel-related stuff was served to me in the query.
I appreciate your "hand-holding" and the link to i3.

My latest tests were on commit bc3e89, (1 day before #2718) using ubuntu + i3, and I had no problems cut/copy/pasting from/to wasabi.
I opened this issue, but I assume more admin-type people here have the ability to close it.
If not, ping me and I'll close it whenever you think the time is right.

This seems to be NOT FIXED in the v1.1.10RC1 * package *, with this I cannot copy the address, and also not paste it. When I checkout the tag and compile from source, then I can copy and paste easily.

Ok, on reboot of the RC1 package it works... odd, I'll continue to investigate.

Reopening, same reasoning as #2101

Sadly, I am no longer using Qubes, so as the originator of this specific issue, I am not able to test any potential fixes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davterra picture davterra  路  3Comments

yahiheb picture yahiheb  路  3Comments

MaxHillebrand picture MaxHillebrand  路  3Comments

trading2835 picture trading2835  路  3Comments

the-metalworker picture the-metalworker  路  3Comments