1. 14 Sep, 2016 3 commits
  2. 13 Sep, 2016 4 commits
    • David Edmundson's avatar
      Cache system tray applet information · 7cf81150
      David Edmundson authored
      Summary:
      Plasma::PluginLoader::self()->listAppletInfo(QString() is expensive, it
      loads and parses every .desktop file individually. Twice.
      
      The main offender is the defaultApplets property, which gets requested
      multiple times from JS space, and we reparse the files every time.
      
      Moving the work to the constructor solves that. This saves loading (on
      my machine) ~900 desktop files.
      
      Test Plan:
      - wiped config, defaults appeared
      - DBus activated still worked
      - restore works as before
      
      Running "time plasmashell" shows:
      
      BEFORE:
      plasmashell  4.01s user 0.46s system 87% cpu 5.116 total
      plasmashell  4.01s user 0.54s system 74% cpu 6.124 total
      
      AFTER:
      plasmashell  3.17s user 0.42s system 68% cpu 5.259 total
      plasmashell  3.18s user 0.46s system 81% cpu 4.475 total
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: mart, broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2756
      7cf81150
    • David Edmundson's avatar
      Don't constrain width of Text field on translated text · f78fbac8
      David Edmundson authored
      Summary:
      This caused it to be cropped on some translations.
      
      This patch only sets the minimum size to force it to line up with the form layout,
      but still allow the text to be larger if needed.
      
      Also tidy up other use of directly setting width/anchors in a layout.
      
      BUG:368487
      
      Test Plan:
      Checked English layout matched up
      Changed text to "asdfasdfadsfasdfljasdfjadlf" and checked that still fit
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2729
      f78fbac8
    • Marco Martin's avatar
      restore panel when screen geometry changes · f7469f6f
      Marco Martin authored
      
      
      the panel size and position is saved per-screen resolution
      so at different resolutions (or different screens) the panel always goes
      back where it was with the size it had.
      this should give a more deterministic behavior to the panel
      when resizing the screen (like virualbox) or docking to
      an external docking styation
      
      BUG:368741
      reviewed-by: David Edmundson's avatarDavid Edmundson <david@davidedmundson.co.uk>
      f7469f6f
    • Kai Uwe Broulik's avatar
      [Window Switcher] Cleanup · 49d0e948
      Kai Uwe Broulik authored
      This cleans up and simplifies the tabbox code, mainly by replacing manual anchoring by QtQuick Layouts.
      Spacing and fonts are also streamlined.
      
      Differential Revision: https://phabricator.kde.org/D2741
      49d0e948
  3. 12 Sep, 2016 13 commits
  4. 10 Sep, 2016 1 commit
  5. 09 Sep, 2016 11 commits
    • David Edmundson's avatar
      Fix applets not being added on service restart · f148bdaf
      David Edmundson authored
      Summary:
      Applet::destroy doesn't delete the applet from Containment::applets in
      the same event. Potentially a dbus activated service being restarted can
      be added in this time, causing us to try adding a new applet with the
      same ID before the first object is deleted.
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: mart, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2703
      f148bdaf
    • Marco Martin's avatar
      port panel loading away from ksycoca · 30a874c8
      Marco Martin authored
      Summary:
      the panel tamplates are listed with kpackage listing
      but were still loaded with kservicetypetrader
      this made possible to have templates listed but not possible
      to be loaded. This ports the template loading to the same logic
      of the template listing, making thisgs consistent here
      
      Reviewers: davidedmundson, #plasma
      
      Reviewed By: davidedmundson, #plasma
      
      Subscribers: davidedmundson, andreaska, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2723
      30a874c8
    • Marco Martin's avatar
      don't list "NoDisplay" panels · fa128c72
      Marco Martin authored
      Summary:
      some panel plugins don't want to be displayed in the context menu
      with the NoDisplay key.
      for instance, the systray
      
      Reviewers: #plasma, bshah
      
      Reviewed By: #plasma, bshah
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2727
      fa128c72
    • Sebastian Kügler's avatar
      add osd slot for screen layout changes · 64a3a1cd
      Sebastian Kügler authored
      Summary: This patch adds an OSD to the dbus object so we can hook up layout changes of the XF86Display button. The method isn't really specific to screen osds, but still called like that (it could be given a generic name, since it's basically just a message and an icon to be specified. This current solution is in line with the rest of the code, though.
      
      Test Plan: Test from kscreen's kded, icon and text show up. Didn't test with multiscreen yet (I think this osd should show up on both screens, will do that once off the train).
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2711
      64a3a1cd
    • David Edmundson's avatar
      Add a utility to extract config entries from plasmoid xfcg files · 73595f32
      David Edmundson authored
      Summary:
      Add a small utility to extract config entries from plasmoid xfcg files
      and export it into mediawiki syntax on stdout for easy copying into
      userbase.
      
      Initial commit, in the future it can be expanded with default values,
      enum expansion and whatever else.
      
      Test Plan: See my email on plasma-devel
      
      Reviewers: #plasma, ochurlaud, mart
      
      Reviewed By: mart
      
      Subscribers: mart, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2712
      73595f32
    • David Edmundson's avatar
      Keep action buttons in screen if we can't match design gap · fcf96cd1
      David Edmundson authored
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2707
      fcf96cd1
    • David Edmundson's avatar
      Merge branch 'Plasma/5.7' · dddabd84
      David Edmundson authored
      dddabd84
    • David Edmundson's avatar
      Fix some status notifier items not appearing · df4387a2
      David Edmundson authored
      Summary:
      Set the initial values for all the things
      This is important as Plasma::DataModel has an unsolvable bug
      When it gets data with a new key it tries to update the  QAIM roleNames
      From QML this achieves absolutely nothing as there is no signal to tell
      QQmlDelegateModel to reload the roleNames in QQmlAdapatorModel
      No matter if the row changes or the model refreshes
      This means it does not re-evaluate what bindings exist (watchedRoleIds)
      and we get properties that don't bind for this or any future SNI.
      
      The main source of this problem is syncStatus can occur before
      refreshCallback; but whilst that's easy to guard against, there's still
      multiple if{} blocks that don't set various keys in refreshCallback()
      which would all need changing too. This seemed cleaner and easier to
      manage.
      
      BUG: 366283
      BUG: 367756
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2613
      df4387a2
    • David Edmundson's avatar
      Hide clock if there's no room to show it all · beb91289
      David Edmundson authored
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2708
      beb91289
    • David Edmundson's avatar
      Fix applets not being added on service restart · 62ac5cd1
      David Edmundson authored
      Summary:
      Applet::destroy doesn't delete the applet from Containment::applets in
      the same event. Potentially a dbus activated service being restarted can
      be added in this time, causing us to try adding a new applet with the
      same ID before the first object is deleted.
      
      Reviewers: #plasma, mart
      
      Reviewed By: mart
      
      Subscribers: mart, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2703
      62ac5cd1
    • Kai Uwe Broulik's avatar
      [System Tray] Set applet status to RequiresAttention when popup is open · ac724566
      Kai Uwe Broulik authored
      This keeps auto-hiding panels open while the applet popup is opened.
      
      BUG: 368160
      
      Differential Revision: https://phabricator.kde.org/D2690
      ac724566
  6. 06 Sep, 2016 4 commits
  7. 05 Sep, 2016 2 commits
  8. 04 Sep, 2016 2 commits