Bug 469854

Summary: Changing window state (maximized <-> fullscreen <-> non-maximized): OBS Studio window recording freezes
Product: [Plasma] kwin Reporter: postix <postix>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: 5.27.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.1
Sentry Crash Report:
Attachments: kWin Support Info

Description postix 2023-05-16 14:54:33 UTC
SUMMARY

Changing window state (maximized <-> fullscreen <-> non-maximized): OBS Studio window recording freezes.

I am not sure if this a an actual KWin, Plasmashell or rather an OBS Studio, Pipewire or portal issue. Sorry in advance if I filed it against the wrong product. :)

TEPS TO REPRODUCE
1. Open OBS Studio 29.02 Wayland
2. Add a window to your sources, e.g. Firefox or Dolphin
3. Change the window state: Maximize it, make it fullscreen or drag it so that it becomes a non-maximized window

OBSERVED RESULT
OBS Studio's preview (recording) of the window becomes frozen.

When this happens journalctl logs

```
16:39:59 plasmashell[14603]: info: [pipewire] Negotiated format:
16:39:59 plasmashell[14603]: info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
16:39:59 plasmashell[14603]: info: [pipewire]     Modifier: 72057594037927935
16:39:59 plasmashell[14603]: info: [pipewire]     Size: 1920x1046
16:39:59 plasmashell[14603]: info: [pipewire]     Framerate: 0/1
16:39:59 plasmashell[14603]: info: [pipewire] Negotiated format:
16:39:59 plasmashell[14603]: info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
16:39:59 plasmashell[14603]: info: [pipewire]     Modifier: 72057594037927935
16:39:59 plasmashell[14603]: info: [pipewire]     Size: 1920x1046
16:39:59 plasmashell[14603]: info: [pipewire]     Framerate: 0/1
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230514
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-2-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Pipewire: 0.3.70-1.1
Comment 1 postix 2023-05-16 14:55:50 UTC
Created attachment 159001 [details]
kWin Support Info
Comment 2 postix 2024-03-14 14:07:02 UTC
Fixed in 6.0.1 \o/ There's another related issue though, but  I will open a new report for it.