1. 21 Dec, 2019 1 commit
    • David Redondo's avatar
      Don't set a new palette if the application has a custom color scheme set · 69b756e2
      David Redondo authored
      Summary:
      If an application has explicitly set a custom color scheme we shouldn't change
      the palette when the global color scheme changes because it explicitly wants to
      use its custom one. For the same reason we already don't update the titlebar
      color to the global one if this property is set.
      
      Test Plan:
      Change colorscheme in kate or kcolorschemedemo and change  the global
      one in the colors kcm.
      
      Reviewers: #plasma, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D25915
      69b756e2
  2. 24 Oct, 2019 1 commit
  3. 15 Jan, 2019 1 commit
    • Marco Martin's avatar
      fix logic of lnf loading · 2682db8a
      Marco Martin authored
      Summary:
      mDefaultLnfConfig must be breeze, and mLnfConfig should be the
      configured one, rather the other way around
      
      Test Plan: plasma seems to start with proper icons now
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D18260
      2682db8a
  4. 04 Dec, 2018 1 commit
    • Jan Grulich's avatar
      Add support for settings portal · 64002af6
      Jan Grulich authored
      Summary:
      Sandboxed applications usually don't have access to read kdeglobals configuration. For this
      reason we introduced Settings portal, to be able to obtain most necessary configuration without
      allowing applications access to hosts configuration. The Settings portal implementation in
      xdg-desktop-portals-kde was develop mostly for plasma-integration needs so it allows to get
      colors, fonts, widget theme and some other configuration from kdeglobals.
      
      Reviewers: #plasma, broulik
      
      Reviewed By: #plasma, broulik
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D17213
      64002af6
  5. 25 Oct, 2018 1 commit
  6. 07 Mar, 2018 1 commit
  7. 25 Oct, 2017 1 commit
  8. 04 Sep, 2017 1 commit
  9. 16 Aug, 2017 1 commit
  10. 05 Jun, 2017 1 commit
  11. 08 Feb, 2017 1 commit
    • Kai Uwe Broulik's avatar
      [KHintsSettings] Emit QGuiApplication::paletteChanged when run as QApplication · ab3298b3
      Kai Uwe Broulik authored
      QGuiApplication::setPalette and QApplication::setPalette are two distinct static functions and
      when the paletteChanged signal was introduced in QGuiApplication the latter was never adjusted.
      
      SystemPalette connects to this signal to avoid installing an eventFilter on qApp for ApplicationPaletteChanged.
      This causes e.g. QML-based System Settings modules to not update when changing color schemes but only the
      widget-based application around it.
      
      CHANGELOG: QtQuick-based interfaces will now more reliably adapt to color scheme changes at runtime
      
      Differential Revision: https://phabricator.kde.org/D4492
      ab3298b3
  12. 10 Jun, 2016 1 commit
    • David Edmundson's avatar
      Remove unused code · 0204ff44
      David Edmundson authored
      This line has a typo never would have found anything and therefore
      clearly is not
      used and wasn't tested.
      
      Even assuming there wasn't a typo, it's a hardcoded path and we don't
      install anything there.
      
      REVIEW: 127781
      0204ff44
  13. 03 May, 2016 1 commit
  14. 29 Apr, 2016 1 commit
    • David Edmundson's avatar
      Don't open kdeglobals explicitly in font/hint settings. · b1d8e32b
      David Edmundson authored
      The app config (KSharedConfig::openConfig()) is a mix of the app's
      settings and kdeglobals.
      
      Loading kdeglobals directly not only is a waste of resources, but breaks
      one of the key features of KConfig where a user can override global
      settings
      on a per app basis.
      
      REVIEW: 127780
      b1d8e32b
  15. 28 Apr, 2016 2 commits
  16. 22 Apr, 2016 1 commit
    • Marco Martin's avatar
      fix reading from default lnf package · 4240c588
      Marco Martin authored
      the defaults file in the  look and feel package has the structure
      [kdeglobals][group]
      key=value
      
      so go one level deeper to get the keys in the proper location
      4240c588
  17. 14 Apr, 2016 1 commit
    • Martin Flöser's avatar
      Depend on Breeze to set the default style name · 70049ac7
      Martin Flöser authored
      Summary:
      Instead of hard coding the name to Breeze, we now find Breeze as a
      hard dependency and use the CMake variable of the name to generate
      the name.
      
      This allows us to have a proper dependency set and we can ensure that
      Breeze is installed when using Plasma.
      
      Reviewers: #plasma
      
      Subscribers: plasma-devel
      
      Projects: #plasma
      
      Differential Revision: https://phabricator.kde.org/D1397
      70049ac7
  18. 07 Apr, 2016 1 commit
  19. 14 Jan, 2016 1 commit
  20. 18 Nov, 2015 1 commit
  21. 07 Nov, 2015 1 commit
    • David Rosca's avatar
      Fix kdeplatformtheme_unittest after last commit · 0bbcfa05
      David Rosca authored
      Use Q_CONSTRUCTOR_FUNCTION for prepareEnvironment, so the QApplication's
      platform theme is using the test paths.
      
      This also fixes updating the WheelScrollLines when the settings change,
      because QApplication is only using theme hint on startup. If the value changes,
      we need to call QApplication::setWheelScrollLines instead of just updating
      the theme hint.
      
      REVIEW: 125877
      0bbcfa05
  22. 02 Nov, 2015 1 commit
  23. 29 Oct, 2015 1 commit
  24. 09 Jan, 2015 1 commit
    • Martin Flöser's avatar
      Update XCursor settings · 21eaa60d
      Martin Flöser authored
      Code taken and adjusted from KGlobalSettings.
      
      REVIEW: 121927
      CHANGELOG: Update XCursor settings on X11 platform.
      21eaa60d
  25. 15 Dec, 2014 1 commit
    • David Edmundson's avatar
      Actually set the palette when it changes · 4ba0e062
      David Edmundson authored
      Simply emitting an event that the palette has changed has absolutely no effect
      as QApplication keeps a cache of the palette, we need to update that appropriately
      
      REVIEW: 121536
      BUG: 336813
      4ba0e062
  26. 24 Sep, 2014 2 commits
  27. 18 Aug, 2014 3 commits
  28. 12 Aug, 2014 1 commit
  29. 07 Aug, 2014 2 commits
  30. 04 Aug, 2014 2 commits
  31. 30 Jul, 2014 1 commit
    • Marco Martin's avatar
      fetch some defaults from a Plasma L&F package · 7b28ef8c
      Marco Martin authored
      there will be support for some kind of "mega theme" that besides providing files for splashscreen, lockscreen etc, will define what defaults to use among icons, colors, fonts etc.
      
      This is a first start of it for reading the defaults. The theme file is stored in a plasma package, but the patch resolves the correct path by hand, not requiring linking to libplasma.
      7b28ef8c
  32. 18 Jul, 2014 2 commits
  33. 17 Jul, 2014 1 commit