Bug 459285

Summary: No window previews in Plasma Wayland
Product: [Plasma] kwin Reporter: Ilya Bizyaev <bizyaev>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.25.90   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description Ilya Bizyaev 2022-09-17 14:53:16 UTC
Created attachment 152157 [details]
Screenshot

SUMMARY
I get no window previews in Plasma panel popups.


STEPS TO REPRODUCE
1. Point my mouse cursor over any of the open windows in the Plasma task manager.

OBSERVED RESULT
There are no window previews

EXPECTED RESULT
Window previews are displayed, like in the X11 session

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Kernel Version: 5.14.21-150400.24.21-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-10210U CPU @ 1.60GHz
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION

Normally window previews are configurable with a combobox in System Settings > Display and Monitor > Compositor, but it's not there for me in Wayland.
Comment 1 Vlad Zahorodnii 2022-09-19 09:12:08 UTC
Does screencasting work in obs-studio?
Comment 2 Ilya Bizyaev 2022-09-19 09:51:50 UTC
No, it seems like that doesn't work either :(
I get the dialogs to choose a window or a screen, and they have correct items, but then there's no image from them displayed in OBS.
Comment 3 Aleix Pol 2022-09-19 12:54:43 UTC
Can you maybe discuss this with your distribution? This is definitely meant to work with your hardware and setup.

Something you can try as well is to run plasmashell or "plasmawindowed org.kde.plasma.taskmanager" from a terminal and see if you get debug information. Especially when it comes to pipewire.

Logs coming from kwin_wayland would also be useful. You can generally find them in ~/.local/share/sddm/wayland-session.log
Comment 4 Nate Graham 2022-09-22 18:43:26 UTC
This points to a distro PipeWire misconfiguration, yeah. That needs to be set up properly for both of those things to work.
Comment 5 Ilya Bizyaev 2022-09-24 18:08:58 UTC
"plasmawindowed org.kde.plasma.taskmanager" prints the following on task hover:

kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55bb06a7bba0)
QCoreApplication::postEvent: Unexpected null receiver

Afterwards, moving the cursor over other tasks only prints the second line.

 ~/.local/share/sddm/wayland-session.log contains the same output.
Comment 6 Ilya Bizyaev 2022-09-24 18:31:47 UTC
It turns out that I had the `wireplumber` systemd unit disabled for some reason (I normally use Pulseaudio). Enabling it fixed the issue: previews show up with a significant delay, but at least I have them now!
Comment 7 Nate Graham 2022-09-26 17:03:50 UTC
Thanks, good to know.