Don't autohide panel if a child window is open

Authored by davidedmundson on Jul 12 2017, 1:48 PM.

Description

Don't autohide panel if a child window is open

Summary:
This is meant as a more generic fix for the autohide panels, actually
looking to see what transient windows we have open.

The problem with the current fixes (D6555) being posted is that we
potentially get attentionStatus in a corrupt status as we cache the
value but it might change externally whilst that window is open.

Also saves duplicating code in a bunch of places.

Test Plan:
Set autohide
Opened a context menu in task manager didn't autohide, till I closed it
Closing menu whilst keeping mouse in the panel doesn't auto hide it
until we move out after.
Hovering over TM tooltip keeps autohide from closing (another fix)

BUG: 352459
BUG: 347855
BUG: 351823

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: broulik, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonJul 12 2017, 1:50 PM
Reviewer
Plasma
Differential Revision
D6577: Don't autohide panel if a child window is open
Parents
R120:930e8f9609a0: Port analog clock to PlasmaComponents3
Branches
Unknown
Tags
Unknown