Bug 412964 - Activities are not properly supported in Wayland
Summary: Activities are not properly supported in Wayland
Status: RESOLVED LATER
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2019-10-15 09:25 UTC by Méven Car
Modified: 2020-03-17 14:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Méven Car 2019-10-15 09:25:19 UTC
SUMMARY

The Activity feature does not work in Wayland.

Firstly, we lack a way to attach activity information to wayland windows or I am not aware of it.

This causes warning in the task manager applet :
file:///home/meven/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:444: TypeError: Cannot call method 'concat' of undefined
file:///home/meven/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:437: TypeError: Cannot call method 'indexOf' of undefined
file:///home/meven/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:437: TypeError: Cannot call method 'indexOf' of undefined
file:///home/meven/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:416: TypeError: Cannot read property 'length' of undefined
file:///home/meven/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:405: TypeError: Cannot read property 'length' of undefined

In libTaskManager waylandtaskmodel.cpp :
QVariant WaylandTasksModel::data(...
[....]
    } else if (role == Activities) {
        // FIXME Implement.

Activity related shortcuts does not work at all.
Comment 1 Ivan Čukić 2020-03-17 13:45:59 UTC
I don't have access to a wayland system. I'm assigning this to the plasma team. The support is missing in kwin/plasma.
Comment 2 David Edmundson 2020-03-17 14:54:24 UTC
>I don't have access to a wayland system.

You do.



But yes, activities are konwn to be missing in our wayland session. Partly blocked on the meta-discussion about deciding how we want things to work moving forwarads.