[Task Manager] Keep entry highlighted when context menu or group dialog is open
ClosedPublic

Authored by broulik on Mar 31 2017, 8:18 AM.

Details

Summary

This makes it easier to see what item the menu or popup is for.
In fact, the item should have stayed highlighted when the context menu is open but this was broken.
Also, for consistency, use the hover effect also for the group dialog (it used to be the "active" task).

Test Plan

This is a Plasma/5.8 branch version of D5255

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Mar 31 2017, 8:18 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 31 2017, 8:18 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
anthonyfieroni added inline comments.
applets/taskmanager/package/contents/ui/Task.qml
107

It's interesting to me, what's the problem here?

broulik added inline comments.Mar 31 2017, 8:51 AM
applets/taskmanager/package/contents/ui/Task.qml
107

The line per se is fine but I need to keep a reference to the contextMenu in the property QtObject contextMenu or else the other places which do task.contextMenu.visualParent ... don't work

hein accepted this revision.Mar 31 2017, 9:10 AM
This revision is now accepted and ready to land.Mar 31 2017, 9:10 AM
This revision was automatically updated to reflect the committed changes.