create shell surface only at the right moment

Authored by mart on Jun 21 2017, 12:01 PM.

Description

create shell surface only at the right moment

Summary:
make the behavior similar to Dialog
create a plasmashell surface only when isVisible() as
some expose events can arrive there too, and also not
create the shell surface if the exposed surface is null

Test Plan: krunner seems to be more reliable

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D6299

Details

Committed
martJun 21 2017, 12:01 PM
Reviewer
Plasma
Differential Revision
D6299: create shell surface only at the right moment
Parents
R120:415b6d81a696: simplify positioning code
Branches
Unknown
Tags
Unknown