Bug 463374 - Window refreshes only when re-focusing
Summary: Window refreshes only when re-focusing
Status: RESOLVED DUPLICATE of bug 464217
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-23 04:08 UTC by Meteora Osterreich
Modified: 2023-01-17 15:01 UTC (History)
2 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 Meteora Osterreich 2022-12-23 04:08:45 UTC
SUMMARY
This happens when doing OBS Screen record in wayland, and happens in every window. the symptoms is more like on this bug report https://bugs.kde.org/show_bug.cgi?id=428499, this resulting OBS will see paused window in its preview when the captured window is not focused

On Firefox to fix this problem is by set widget.wayland_vsync.enabled to false

Video link: https://youtu.be/M5S5c_NbiIM
also in attachment

STEPS TO REPRODUCE
1. Open a window in example VLC, play a video (in virtual desktop 1)
2. Open OBS and Add Window Capture (in virtual desktop 2)
3. Select Window (select VLC)
4. Record
5. Switch virtual desktop 2 to lose focus window of VLC
6. and switch back to virtual desktop 1
6. the obs preview will see screen pause in VLC when switch to virtual desktop 2 while recording causing unable to record window while VLC in virtual desktop 1 window lose focus

OBSERVED RESULT
no paused when capture window lose focus in OBS

EXPECTED RESULT
window not refreshed on OBS when recording

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.11-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-3120M CPU @ 2.50GHz
Memory: 9.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: Sony Corporation
Product Name: SVE14132CVW
System Version: C10GPC0F

ADDITIONAL INFORMATION
Not only happen in OBS but also when screensharing in wayland

sorry for my bad english
Comment 1 Zamundaaa 2023-01-17 15:01:33 UTC
*** This bug has been marked as a duplicate of bug 464217 ***