Bug 397153 - Support PresentWindows for grouped tasks
Summary: Support PresentWindows for grouped tasks
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.13.3
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks: 404953
  Show dependency treegraph
 
Reported: 2018-08-04 14:29 UTC by Michail Vourlakos
Modified: 2021-06-09 23:50 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2018-08-04 14:29:55 UTC
Just to have bug tracking for this. As the title says the PresentWindows effect  that is used for grouped tasks under X11 it would be nice to have for plasma-related taskmanagers
Comment 1 Alexander Mentyu 2018-08-06 14:12:23 UTC
Present Windows effect isn't triggered after clicking grouped windows in Task Manager in X11 and Wayland. How to enable it - Present Windows effect is enabled in Desktop Effects

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Comment 2 Michail Vourlakos 2018-08-06 16:22:29 UTC
(In reply to Alexander Mentyu from comment #1)
> Present Windows effect isn't triggered after clicking grouped windows in
> Task Manager in X11 an

please open a different a thread

> Wayland. How to enable it - Present Windows effect

it doesnt work yet in wayland
Comment 3 David Edmundson 2019-03-01 17:01:05 UTC
*** Bug 404953 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2020-11-02 19:04:02 UTC
*** Bug 426904 has been marked as a duplicate of this bug. ***
Comment 5 David Warner 2021-02-18 23:12:53 UTC
Until this is supported, is it worth adjusting the warning text to note this? (Currently, it's "The 'Present Windows' effect is not enabled or otherwise available right now, so a textual list will be displayed instead"). Or perhaps disable this menu entry under Wayland altogether.
Comment 6 David Redondo 2021-04-08 09:08:23 UTC
Git commit 0332fc68fbf9f4c372943cee8a0c8b6b813fb703 by David Redondo.
Committed on 08/04/2021 at 09:07.
Pushed by davidre into branch 'master'.

Use DBus interface for presentWindows

Similiar to highlightWindow the effect has gained a DBus interface
in order to also support wayland.

M  +3    -3    applets/taskmanager/package/contents/ui/ConfigBehavior.qml
M  +1    -1    applets/taskmanager/package/contents/ui/code/tools.js
M  +25   -23   applets/taskmanager/plugin/backend.cpp
M  +4    -1    applets/taskmanager/plugin/backend.h

https://invent.kde.org/plasma/plasma-desktop/commit/0332fc68fbf9f4c372943cee8a0c8b6b813fb703
Comment 7 David Warner 2021-06-09 15:20:02 UTC
Should this work out of the box in 5.22? I still see "The 'Present Windows' effect is not enabled or otherwise available right now, so a textual list will be displayed instead".
Comment 8 Nate Graham 2021-06-09 16:19:29 UTC
It should be. It's working for me FWIW.
Comment 9 Patrick Silva 2021-06-09 18:14:59 UTC
works for me on Arch Linux too. Tested both icon-only and classic task managers.
Comment 10 David Warner 2021-06-09 23:50:20 UTC
Thank you, this was pure PEBKAC. I can confirm this is working.