1. 10 Oct, 2018 1 commit
    • Kai Uwe Broulik's avatar
      [Background Model] Use own QCache for thumbnails · de6f8246
      Kai Uwe Broulik authored
      Previously it would use an on-disk KImageCache which would never be invalidated.
      Moreover, it just uses KIO::PreviewJob which does its own more clever (compares mtime and other properties) on-disk caching already.
      
      It is using its own QCache rather than QPixmapCache to not jeopardize other caching for the potentially large wallpaper thumbnails
      that are only relevant while the dialog is open.
      
      BUG: 395447
      FIXED-IN: 5.15.0
      
      Differential Revision: https://phabricator.kde.org/D16095
      de6f8246
  2. 24 Mar, 2018 1 commit
    • David Edmundson's avatar
      Add mutex round static member used in a thread · 52ceb245
      David Edmundson authored
      Summary:
      BackgroundFinder runs in a separate thread, it uses a static QStringList cache
      It's perfectly plausible that two BackgroundFinders threads could run at once
      
      Test Plan:
      Old code didn't crash, it was a pure hypothetical.
      Works as before
      
      Reviewers: #plasma, mart
      
      Reviewed By: #plasma, mart
      
      Subscribers: anthonyfieroni, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D11590
      52ceb245
  3. 10 Mar, 2018 1 commit
  4. 03 Feb, 2018 1 commit
  5. 28 Jan, 2018 2 commits
  6. 30 Jun, 2017 1 commit
  7. 29 Nov, 2016 1 commit
    • Marco Martin's avatar
      Select correct index without timer · 5434e4bc
      Marco Martin authored
      Summary:
      select the correct index upon loading when the count changes.
      this removes the flicker at startup and the view is at the correct
      wallpaper since the first frame. Also, now when a wallpaper is
      downloaded with knewstuff, the old wallpaper stays selected,
      it doesn't get resetted to the first wallpaper anymore
      
      Test Plan:
      open wallpaer dialog, no more flicker
      install a new wallpaper, the currently selected one stays selected
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D3532
      5434e4bc
  8. 14 Sep, 2016 1 commit
    • Jonathan Marten's avatar
      Image wallpaper: Fix verification of a background image file · 4be156bc
      Jonathan Marten authored
      BackgroundFinder::suffixes(), despite its name, actually returns a list
      of glob patterns.  The extension of the image file is checked against
      this list to ensure that it is supported, which needs to take
      account of that.  Do the check in a new function
      BackgroundFinder::isAcceptableSuffix(const QString &suffix).
      
      Reviewers: davidedmundson, #plasma
      Reviewed By: davidedmundson, #plasma
      Subscribers: plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D2722
      4be156bc
  9. 22 Aug, 2016 1 commit
  10. 11 Jun, 2016 1 commit
  11. 10 Mar, 2016 1 commit
  12. 09 Feb, 2016 1 commit
  13. 03 Apr, 2015 1 commit
  14. 09 Jan, 2015 2 commits
  15. 19 Sep, 2014 1 commit
    • Aaron J. Seigo's avatar
      move WallpaperPackage into a pluging called Wallpaper/Images · c0b805ff
      Aaron J. Seigo authored
      this will allow it to be shared by other plugins out there. it does mean
      sacrificing the generic "find best paper size" functionality which was
      tightly bound to the image wallpaper (in plasma4, this was Plasma::Wallpaper,
      so acceptable). Finding the best image is now left up to the plugin,
      though I imagine that other plugins will want this eventually as well
      and it will find its way into a library somewhere or else just be
      copy-and-pasted a lot.
      c0b805ff
  16. 04 Jun, 2014 1 commit
  17. 02 Jun, 2014 1 commit
  18. 29 May, 2014 1 commit
    • Marco Martin's avatar
      thumbnail size font dependant · 7065c150
      Marco Martin authored
      optimal solutin will be using ui scaling of Qt 5.4
      use this size as optionam thumbnail size and keep thumbnails
      around that size, giving more row/columnsif needed
      this gives more optimal sizes and not too blurry thumbmnails
      BUG:335424
      7065c150
  19. 10 Apr, 2014 1 commit
  20. 09 Apr, 2014 1 commit
    • Marco Martin's avatar
      use a KImageCache · 3dfb46da
      Marco Martin authored
      Now from the second time the dialog is loaded, the thumbnail loading is istantaneous
      3dfb46da
  21. 30 Mar, 2014 1 commit
    • Aleix Pol Gonzalez's avatar
      Initial import from the monolithic kde-workspace. · da27b276
      Aleix Pol Gonzalez authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      techbase wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      
      http://community.kde.org/Frameworks/GitOldHistory
      
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      argument.
      
      Branched from the monolithic repo kde-workspace, frameworks  branch, at commit
      049113e719dd2fc4446d054fa1a3aada330094f0
      da27b276