Bug 412964

Summary: Activities are not properly supported in Wayland
Product: [Plasma] plasmashell Reporter: Méven Car <meven29>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED LATER    
Severity: normal CC: nate, plasma-bugs
Priority: NOR Keywords: wayland
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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.