Do not restore windows on minimise change
ClosedPublic

Authored by davidedmundson on Jun 19 2018, 7:43 AM.

Details

Summary

On window changing the old code would deactivate the minimise all
plugin, but not restore the rest of the minised windows. This restores
that behaviour.

Also simplify tracking which active window changes, in a way that still
works when a user clicks minimise all then interacts with the desktop.

BUG: 395519

Finishes D13529

Test Plan

Clicked minimise all
Clicked desktop
Clicked minimise all, windows restored

Clicked minimise all
Opened a window
Only that window restored
Clicking minimise all again minimised only that window

Diff Detail

Repository
R114 Plasma Addons
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.Jun 19 2018, 7:43 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 19 2018, 7:43 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jun 19 2018, 7:43 AM
anthonyfieroni accepted this revision.Jun 19 2018, 8:09 AM
This revision is now accepted and ready to land.Jun 19 2018, 8:09 AM
This revision was automatically updated to reflect the committed changes.