[Widget Explorer] Take into account the activity a widget is on
ClosedPublic

Authored by broulik on Feb 3 2016, 10:36 PM.

Details

Summary

Only consider an applet running if it's on the current activity.

BUG: 341154
FIXED-IN: 5.6.0

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.
broulik updated this revision to Diff 2183.Feb 3 2016, 10:36 PM
broulik retitled this revision from to [Widget Explorer] Take into account the activity a widget is on.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a project: Plasma.
broulik added a reviewer: Plasma.
broulik updated this revision to Diff 2184.Feb 3 2016, 10:43 PM

I would have expected that Containment::activity() for a Panel is null / empty but instead it has the activity it was first created on (or was current at plasma startup), hence the Panel type check rather than verifying against null uuid.

mart accepted this revision.Feb 9 2016, 10:21 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Feb 9 2016, 10:21 AM
This revision was automatically updated to reflect the committed changes.