Bug 443124 - Xwayland window is not repainted while selected via task switcher
Summary: Xwayland window is not repainted while selected via task switcher
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-29 16:57 UTC by Patrick Silva
Modified: 2021-09-30 12:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-09-29 16:57:48 UTC
STEPS TO REPRODUCE
1. play a video in youtube with Firefox running on Xwayland
2. minimize Firefox window
3. open Kate
4. press alt+tab and hold alt key

OBSERVED RESULT
Firefox window is selected but the video apparently is paused
because Firefox window is not being repainted.
I can't reproduce with Firefox running natively on Wayland.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I can also reproduce with Opera internet browser running on Xwayland.
Comment 1 Vlad Zahorodnii 2021-09-30 06:01:48 UTC
https://invent.kde.org/plasma/kwin/-/merge_requests/1475 may potentially fix this issue. I am unable to reproduce this issue though.
Comment 2 Patrick Silva 2021-09-30 12:01:16 UTC
(In reply to Vlad Zahorodnii from comment #1)
> https://invent.kde.org/plasma/kwin/-/merge_requests/1475 may potentially fix
> this issue. I am unable to reproduce this issue though.

I have just applied your patch to neon unstable. It fixes bug 442936, but the
bug reported here persists.
Comment 3 Vlad Zahorodnii 2021-09-30 12:57:08 UTC
Oh, I've missed the part about being minimized. It's the expected behavior. KWin will unmap minimized windows, therefore Xwayland will stop pushing new frames.

I believe Firefox will behave the same way on X11. On Wayland, it's a bit different.