Skip to content
  • David Edmundson's avatar
    Port minimize all applet from it's own plugin to org.kde.TaskManager · c8c734fa
    David Edmundson authored
    Summary:
    This reduces the code we have and implicitly fixes it under wayland.
    
    Tracking of which windows are minimised by us is now done in JS, and
    through use of model indexes instead of X window IDs, which wouldn't
    really have worked under wayland.
    
    Potentially we may have some minor behavioural differences on X with
    regards to which windows are managed, as the old code did not skip those
    with skip_taskmanager.
    
    Requires a tiny patch in libtaskmanager to export persistentmodelindexes to
    QML.
    
    Test Plan:
    Under wayland:
    Had 3 windows, one minimised already
    Clicked button. All minimised.
    Clicked again, two restored
    
    Reviewers: #plasma, anthonyfieroni
    
    Reviewed By: anthonyfieroni
    
    Subscribers: ngraham, anthonyfieroni, sebas, broulik, plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D10019
    c8c734fa