Don't autohide panel if a child window is open
ClosedPublic

Authored by davidedmundson on Jul 9 2017, 12:17 AM.

Details

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)

(Need to fix an unrelated bug in AppletAlternativeDialog, it seems it can leak..)

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Jul 9 2017, 12:17 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 9 2017, 12:17 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik accepted this revision.Jul 10 2017, 9:11 AM
broulik added a subscriber: broulik.

Cool!

This revision is now accepted and ready to land.Jul 10 2017, 9:11 AM
This revision was automatically updated to reflect the committed changes.