Drop the C++ text label implementation.
ClosedPublic

Authored by hein on Aug 12 2016, 8:56 AM.

Details

Summary

After D2281 set the stage, this change drops the C++ label in favor
of the PlasmaComponents-based label added then. A consensus has
emerged that the things the C++ label did that the new label does
not do (fadeout gradients, shadowing) are not actually desirable.

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.
hein updated this revision to Diff 5855.Aug 12 2016, 8:56 AM
hein retitled this revision from to Drop the C++ text label implementation..
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added reviewers: Plasma, broulik.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptAug 12 2016, 8:57 AM
broulik edited edge metadata.Aug 12 2016, 9:07 AM

Fixes:

  • Bug 346050: No subpixel rendering in task manager
  • Bug 360119: Task manager text is blurry

and because we no longer have a shadow to begin with:

  • Bug 357242: se theme-defined color for task label shadow
applets/taskmanager/package/contents/ui/Task.qml
394

Should we perhaps keep the Loader for optimizing the icon-tasks case, or does that introduce too much overhead/code maintenance?

hein added inline comments.Aug 12 2016, 9:12 AM
applets/taskmanager/package/contents/ui/Task.qml
394

I think it's a wash. If we add the Loader, we have an extra QObject, an extra QML file, it adds instanciation latency and needs more disk I/O and parsing work. An invisible label isn't that heavy I think :).

broulik accepted this revision.Aug 14 2016, 10:39 AM
broulik edited edge metadata.

Make sure to add the aforementioned Bug numbers to the commit message.

This revision is now accepted and ready to land.Aug 14 2016, 10:39 AM
This revision was automatically updated to reflect the committed changes.