Bug 497421 - KRdp closes connection when fullscreening or minimizing any client
Summary: KRdp closes connection when fullscreening or minimizing any client
Status: REPORTED
Alias: None
Product: KRdp
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 18:32 UTC by me
Modified: 2024-12-17 14:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description me 2024-12-13 18:32:54 UTC
SUMMARY
When I use any RDP client (KRDC, Remmina, etc.) and try to do something like fullscreen or minimize on my RDP client, the server closes my connection with the following errors:
```
[19:28:23:935] [3342:3754] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail
[19:28:23:935] [3342:3754] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
```

STEPS TO REPRODUCE
1. Start the RDP server
2. Connect with any RDP client
3. Try to go fullscreen or minimize the client

OBSERVED RESULT
The connection closes.

EXPECTED RESULT
It should not close.

SOFTWARE/OS VERSIONS
Linux: Fedora KDE 41, kernel 6.11.11-300
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Both the client computer and server computer have these same software specs.
Comment 1 Nate Graham 2024-12-16 20:40:38 UTC
Cannot reproduce with git master KRDP and KRDC.
Comment 2 Arjen Hiemstra 2024-12-17 14:23:05 UTC
This is potentially because changing focus causes a change in clipboard which causes a connection abort with the released version due to some issue with FreeRDP. https://invent.kde.org/plasma/krdp/-/merge_requests/79 which will be released with Plasma 6.2.5 should fix that.