Bug 492587 - Remote desktop session freezes on minimizing or when out of focus
Summary: Remote desktop session freezes on minimizing or when out of focus
Status: REPORTED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (show other bugs)
Version: 24.08.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 11:19 UTC by SigHunter
Modified: 2024-10-13 19:41 UTC (History)
1 user (show)

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


Attachments
Video of krdc freezing when it's window gets minimized (3.11 MB, video/mp4)
2024-09-03 11:19 UTC, SigHunter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SigHunter 2024-09-03 11:19:08 UTC
Created attachment 173272 [details]
Video of krdc freezing when it's window gets minimized

Starting with KRDC 24.08.0, my rdp sessions to another PC running Plasma immediately freezes when
the KRDC window gets minimized or loses focus (e.g. when meta is pressed and the startmenu opens or when I click on clock widget)

The remote image in KRDC is then frozen and no input is passed through. 

Logs on server only show the regular disconnect.
Logs on the client running krdc are rare too, this could maybe be related:
wireplumber[949]: wp-event-dispatcher: <WpAsyncEventHook:0x561476059430> failed: <WpSiStandardLink:0x561476147080> link failed: some node was destroyed before the link was created

This does _not_ happen when I downgrade to krdc 23.05.2 and it also does not happen when the server is e. g. a Windows 11. I have not tried vnc or X11. 

I can always replicate the behaviour, as it happens every time I minimize KRDC. It always freezes. Please see the attached video

Used versions:

Client running krdc
krdc 24.08.0
krdp 6.1.4
kpipewire 6.1.4
pipewire 1.2.3
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 23.2 GiB of RAM
Graphics Processor: Mesa Intel® Arc

Server that is being connected to
krdp 6.1.4
freerdp 2.11.7
kpipewire 6.1.4
pipewire 1.2.3
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 20 × Intel® Core™ i9-10850K CPU @ 3.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
Comment 1 SigHunter 2024-09-13 07:26:12 UTC
To keep this updated: same experience with KRDC 24.08.1
Comment 2 ben 2024-10-03 19:19:41 UTC
I have exactly the same Problem, but for me this not only occurs in KRDC, but also Remmina. 
Surprisingly though it does not occur with xfreerdp. I can minimize and navigate away just fine. 

I use xfreerdp like this: 
xfreerdp /u:user /p:test -clipboard /v:<ip>:<port> /network:auto

When the Error occurs I get these Errors on the Server Side: 
[21:13:15:017] [29135:29990] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail
[21:13:15:017] [29135:29990] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

## Client running Remmina & KRDC: 
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
Memory: 13,3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82QF
System Version: Yoga 7 14ARB7

Remmina 1.4.35
KRDC 24.08.0

## Server running KRDP:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12400F
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: BIOSTAR Group
Product Name: B660GTN
Comment 3 SigHunter 2024-10-13 19:41:34 UTC
Short update, this still happens with krdc 24.08.2 (as client) and krdp 6.2.0 and freerdp 2.11.7 (serverside). KF 6.7
I haven't tried other clients like remmina or xfreerdp