summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/471.toml
blob: 3c616be8afa012835f94ae8af9736574bab329a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
id = 471
title = "Clipboard sharing with `qemu_vdagent` does not work with SDL backend"
state = "opened"
created_at = "2021-07-11T15:00:37.640Z"
closed_at = "n/a"
labels = ["device:input", "kind::Feature Request", "workflow::Triaged"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/471"
host-os = "Arch Linux"
host-arch = "x86_64"
qemu-version = "QEMU emulator version 6.0.50 (v6.0.0-2451-g3cfcc329af)"
guest-os = "Fedora-Workstation-Live-x86_64-34-1.2.iso"
guest-arch = "x86_64"
description = """Clipboard sharing doesn't work: qemu does not send clipboard-grab messages when selecting on the host, nor does it respond to clipboard-grab messages from the guest."""
reproduce = """1. Start QEMU with `qemu_vdagent` and `-display sdl`
2. Try to copy on the host or the guest
3. Observe that the clipboard is not shared"""
additional = """It appears as though `vdagent_clipboard_notify` function is not called.

Logs: 

With SDL:
```
vdagent_open 
vdagent_recv_chunk size 28
vdagent_recv_msg msg announce-capabilities, size 8
vdagent_peer_cap cap mouse-state
vdagent_peer_cap cap monitors-config
vdagent_peer_cap cap reply
vdagent_peer_cap cap clipboard-by-demand
vdagent_peer_cap cap clipboard-selection
vdagent_peer_cap cap sparse-monitors-config
vdagent_peer_cap cap guest-lineend-lf
vdagent_peer_cap cap max-clipboard
vdagent_peer_cap cap audio-volume-sync
vdagent_send msg announce-capabilities
# tried to copy on host -- nothing happens here.
# trying to copy on guest:
vdagent_recv_chunk size 28
vdagent_recv_msg msg clipboard-grab, size 8
vdagent_cb_grab_selection selection clipboard
vdagent_cb_grab_type type text
# no response sent
```
With GTK:
```
vdagent_open 
vdagent_recv_chunk size 28
vdagent_recv_msg msg announce-capabilities, size 8
vdagent_peer_cap cap mouse-state
vdagent_peer_cap cap monitors-config
vdagent_peer_cap cap reply
vdagent_peer_cap cap clipboard-by-demand
vdagent_peer_cap cap clipboard-selection
vdagent_peer_cap cap sparse-monitors-config
vdagent_peer_cap cap guest-lineend-lf
vdagent_peer_cap cap max-clipboard
vdagent_peer_cap cap audio-volume-sync
vdagent_send msg announce-capabilities
# trying to copy on host:
vdagent_send msg clipboard-grab
vdagent_recv_chunk size 28
vdagent_recv_msg msg clipboard-request, size 8
vdagent_send msg clipboard
vdagent_recv_chunk size 28
# trying to copy on guest:
vdagent_recv_msg msg clipboard-grab, size 8
vdagent_cb_grab_selection selection clipboard
vdagent_cb_grab_type type text
vdagent_send msg clipboard-request
vdagent_recv_chunk size 29
vdagent_recv_msg msg clipboard, size 9
```"""