Bug 426904

Summary: Task Manager settings says that Present Windows effect is not enabled/available on Wayland despite it is
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate, plasma-bugs-null
Priority: NOR Keywords: junior-jobs, wayland-only
Version First Reported In: 5.19.90   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2020-09-23 13:30:06 UTC
Created attachment 131883 [details]
screenshot

STEPS TO REPRODUCE
1. start Wayland session
2. open Task Manager settings
3. click on "Behavior" in the left side
4. open "Clicking grouped task" combobox and choose "Shows 'Present Windows' effect"

OBSERVED RESULT
As we can see in the attached screenshot, an inline message says that Present Windows is not enabled/available. But Present Windows effect works when I move cursor to upper left corner of my screen.

EXPECTED RESULT
Present Windows effect should work with Task Manager on Wayland

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 Nate Graham 2020-09-23 21:06:32 UTC
That's odd. Cannot reproduce on X11.
Comment 2 David Edmundson 2020-09-23 22:33:41 UTC
> Cannot reproduce on X11.

Well that's not surprising, it's announcing itself through an X atom.

See kwayland-integration integration of the KWindowSystem backend

windoweffects::isEffectAvailable

The implementation of presentWindow is also ... somewhat missing, so the warning isn't entirely wrong in the current state.

Patch will be somewhat involved as it means patching:
 - kwayland-protocols
 - kwayland-server
 - kwin
 - kwayland-integration

Would be a good JJ for someone wanting to do their first wayland protocol.
Comment 3 Nate Graham 2020-09-24 00:29:35 UTC
Sure, sign me up!
Comment 4 Patrick Silva 2020-11-01 11:46:56 UTC
duplicate of bug 397153 ?
Comment 5 Nate Graham 2020-11-02 19:04:02 UTC
Ah, yeah.

*** This bug has been marked as a duplicate of bug 397153 ***
Comment 6 Nate Graham 2021-04-09 20:55:33 UTC

*** This bug has been marked as a duplicate of bug 404953 ***