Skip to content
  • David Edmundson's avatar
    Remove expensive blocking call on plasmashell startup · 0d3ffccb
    David Edmundson authored
    Summary:
    QDBusInterface is a blocking call that calls introspect. We don't need
    to introspect.
    
    As this is called on startup this call starts kuiserver, which means
    plasma is blocked whilst a whole process spawns, this is a lot worse
    than just a regular, ~100ms on my system
    
    Also using the generated versions is generally neater to read.
    
    Test Plan:
    Restarted plasmashell
    Copied a file
    Still had a spinny wheel
    Q_DBUS_BLOCKING_CALL_MAIN_THREAD_WARNING_MS=0 doesn't list kuiserver
    
    Reviewers: #plasma, broulik
    
    Reviewed By: #plasma, broulik
    
    Subscribers: broulik, plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D15815
    0d3ffccb