ScriptEngine exports the list of activities known to Plasma
ClosedPublic

Authored by ivan on Jul 15 2016, 9:59 PM.

Details

Summary

There is a small time-window when Plasma's internal data
regarding activities is not synchronized with the internal
data of the KActivities library.

This leads to Plasma reporting a different list of activities
than the list of activities it has containments for.

This patch changes the activity list that the ScriptEngine reports
to be the one that Plasma knows about.

See: https://bugs.kde.org/show_bug.cgi?id=365606

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.
ivan updated this revision to Diff 5219.Jul 15 2016, 9:59 PM
ivan retitled this revision from to ScriptEngine exports the list of activities known to Plasma.
ivan updated this object.
ivan edited the test plan for this revision. (Show Details)
ivan added reviewers: Plasma, mart, davidedmundson, sebas.
Restricted Application added a project: Plasma. · View Herald TranscriptJul 15 2016, 9:59 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart added inline comments.Jul 18 2016, 9:00 AM
shell/scripting/scriptengine.h
74–75

does this makes an api change in the scriptengine?

mart accepted this revision.Jul 18 2016, 9:20 AM
mart edited edge metadata.
This revision is now accepted and ready to land.Jul 18 2016, 9:20 AM
This revision was automatically updated to reflect the committed changes.