The notification shown when I send something to the global clipboard is gone, should I fill an issue or is it expected?
Could you please be more specific. Does this happen when you copy something to global clipboard from dom0, AppVMs, HVMs, …
p.s.: It was me who wrote the new notifications (or I am the person to blame). So it would be most probably me who should solve the related bugs. I am OK with reports on Github or forum.
Weird then, I don’t have it.
I’ll write a bug report with required information it was from a fedora-42-xfce AppVM, nothing fancy.
Could you please try to do it again and then look at dom0 and see if any of the blow files exists (and what would be their content):
/run/qubes/qubes-clipboard.bin
/run/qubes/qubes-clipboard.bin.metadata
/run/qubes/qubes-clipboard.bin.source
I did shutdown my testing computer since then, and when I tried again it worked sorry for the noise
Seems this is because your issue has spread to my computer… I rebooted and now I don’t get notifications for copying to the qubes global clipboard (although the copy-paste functionality does still work, just without the notifs).
cc @Atrate
After copying (vm → global)
user@dom0 ~ % cat /run/qubes/qubes-clipboard.bin
Could you please try to do it again and then look at dom0 and see if any of the blow files exists (and what would be their content):%
user@dom0 ~ % cat /run/qubes/qubes-clipboard.bin.metadata
{
"vmname":"redacted",
"xevent_timestamp":2405272,
"successful":1,
"copy_action":1,
"paste_action":0,
"malformed_request":0,
"oversized_request":0,
"cleared":0,
"qrexec_clipboard":0,
"sent_size":132,
"buffer_size":64000,
"protocol_version_xside":65544,
"protocol_version_vmside":65544
}
user@dom0 ~ % cat /run/qubes/qubes-clipboard.bin.source
redacted%
After pasting (global → vm, different string):
All files empty except the following one:
cat /run/qubes/qubes-clipboard.bin.metadata
{
"vmname":"redacted",
"xevent_timestamp":2405272,
"successful":1,
"copy_action":0,
"paste_action":1,
"malformed_request":0,
"oversized_request":0,
"cleared":1,
"qrexec_clipboard":0,
"sent_size":43,
"buffer_size":64000,
"protocol_version_xside":65544,
"protocol_version_vmside":65544
}
I changed the name of the VM to “redacted”
Ok. This shows GUI agent (within the qube) and GUI daemon (within dom0 or GUIVM) is working fine. I assume you do not have a dedicated GUIVM.
The problem should be with the Global Clipboard widget. I appreciate if you could do this:
- Stop the running widget:
systemctl --user stop qubes-widget@qui-clipboard.service
- Run it manually in terminal
/usr/bin/widget-wrapper qui-clipboard
- Do some copy pastes to/from global clipboard and observe if widget prints any error in terminal
Well, as is often the case with bugs, running it manually made the notifications appear Yay for easy debugging…
Indeed this provides valuable feedback. This confirms that the issue lays with the widget. Not the background mechanism.