Containment creation relies on the current activity, so
we need to change the current activity when creating one
from PlasmaScript in order for the Containment to be created
correctly.
Details
Details
Tested with:
print(currentActivity()); var id = currentActivity(); var desktops = desktopsForActivity(id); print(desktops.length); for (var i = 0; i < desktops.length; ++i) { print(desktops[i].id); } var id = createActivity("Day 4 - Test 1 - " + activities().length); var desktops = desktopsForActivity(id); for (var i = 0; i < desktops.length; ++i) { print(desktops[i].id); }
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.