Bug 497765

Summary: krdc: Un- and Refocusing window makes stream (video and input) freeze
Product: [Plasma] KRdp Reporter: postix <postix>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: major CC: ahiemstra, akselmo, nate, xaver.hugl
Priority: NOR    
Version: 6.2.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2024-12-21 21:14:58 UTC
SUMMARY

I'm not quiet sure if this is a kwin issue, but it's reproducible with Qt and Gtk RDP-clients.

STEPS TO REPRODUCE
1. Open KRDC 24.12.0 _or_ Remmina 1.4.36 (windowed)
2. Establish an RDP connection using h264 as codec
(Tumbleweed with Plasma 6.2.4 Wayland + opi codecs to Fedora 41 Plasma 6.2.4 Wayland)
3. Tab out or click into  another window such as console or click onto KRDC's or Remmina's task manager icon
4. Focus KRDC or Remmina again

OBSERVED RESULT
The connection broke: The video stream is frozen and the remote receives no more input.

EXPECTED RESULT
Unfocusing does not break the rdp connection.

SOFTWARE/OS VERSIONS
(RDP Client)
Operating System: openSUSE Tumbleweed 20241218
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-1-default (64-bit)
Graphics Platform: Wayland
Pipewire: 1.2.7
Wireplumber: 0.5.7