https://bugs.kde.org/show_bug.cgi?id=528051

--- Comment #1 from [email protected] ---
Additional testing and updates:

- wlfreerdp fails to paste from Fedora -> Ubuntu (initially said it worked in
both directions)
- sdl-freerdp works in both directions
- Tested KRDC 26.08.2 in a Fedora 45 distrobox and it failed to copy

When a copy from Ubuntu fails using KRDC, the log reports:
`[RDP.CLIPRDR] Possible protocol violation: Client did not send format list
response (Timeout reached)`

Gathered some relevant logging from KRDC around copy events:

[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_order_recv]: msgType: CB_FORMAT_LIST [0x0002] (2), msgFlags:
NONE|[0x0000] dataLen: 12
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: ServerFormatList: numFormats: 2
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: [0]: id=0x00000001 [CF_TEXT|(null)]
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: [1]: id=0x0000000d [CF_UNICODETEXT|(null)]
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: ServerFormatList [filtered]: numFormats: 2
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: [0]: id=0x00000001 [CF_TEXT|(null)]
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_list]: [1]: id=0x0000000d [CF_UNICODETEXT|(null)]
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_client_format_data_request]: ClientFormatDataRequest(0x00000001
[CF_TEXT])
[10:55:39:784] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_packet_send]: Cliprdr Sending (12 bytes)
[10:55:39:787] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_order_recv]: msgType: CB_FORMAT_DATA_RESPONSE [0x0005] (5), msgFlags:
CB_RESPONSE_FAIL|[0x0002] dataLen: 0
[10:55:39:787] [5524:000015cd] [DEBUG][com.freerdp.channels.cliprdr.client] -
[cliprdr_process_format_data_response]: ServerFormatDataResponse:
msgFlags=0x00000002, dataLen=0
[10:55:39:787] [5524:000015cd] [DEBUG][com.winpr.clipboard] -
[ClipboardSetData]: setting formatId=CF_TEXT [0x00000001], size=0
[10:55:39:787] [5524:000015cd] [DEBUG][com.winpr.clipboard] -
[ClipboardGetData]: getting formatId=CF_TEXT [0x00000001] data=0x7f9384000be0,
size=1

It's possible KRDC failed to acknowledge the Ubuntu server’s incoming RDP
clipboard format list with the required CB_FORMAT_LIST_RESPONSE.

Built KRDC from master and this issue appears resolved and the clipboard is
working in both directions now. So it's possible something after the 26.08.02
tag may have provided a fix.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to