[Plasma Dialog] Call window effects only if visible
ClosedPublic

Authored by broulik on Dec 6 2017, 10:20 AM.

Details

Summary

It spends 160ms in total on plasmashell startup for me here.

Test Plan

My plasma popups are still properly blurred both on X and Wayland

The updateTheme() method is called wayyyyy to often, however. Didn't check whether it was generating the mask or the X calls (probably both) is what makes it slow.

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Dec 6 2017, 10:20 AM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptDec 6 2017, 10:20 AM
Restricted Application added subscribers: Frameworks, plasma-devel. · View Herald Transcript
broulik requested review of this revision.Dec 6 2017, 10:20 AM
apol accepted this revision.Dec 11 2017, 1:07 AM
This revision is now accepted and ready to land.Dec 11 2017, 1:07 AM