1. 25 Feb, 2020 1 commit
    • Nate Graham's avatar
      Remove the "Candy" category and fold its contents into "Appearance" · 04aff77f
      Nate Graham authored
      The "Candy" category suffers from some problems:
      - It does not need to exist; everything in it is purely appearance-related and could live in the existing "Appearance" category
      - The name is inappropriate; "Eye Candy" would be better, but changing it to this has proven controversial in the past
      Let's just remove the category and move everything in it into the "Appearance" category.
      Test Plan:
      Apply and compile
      Open Desktop Effects KCM
      See that the "Candy" category is no more and the "Appearance" category has more stuff in it
      Reviewers: #kwin, #vdg, zzag, abetts
      Reviewed By: #kwin, #vdg, zzag, abetts
      Subscribers: abetts, zzag, kwin, kde-doc-english, GB_2
      Tags: #kwin, #documentation
      Differential Revision: https://phabricator.kde.org/D27658
  2. 14 Jan, 2020 1 commit
  3. 30 Dec, 2019 1 commit
  4. 20 Dec, 2019 1 commit
  5. 29 Sep, 2019 1 commit
  6. 09 Jul, 2019 1 commit
  7. 10 Apr, 2019 1 commit
  8. 18 Mar, 2019 8 commits
  9. 12 Feb, 2019 1 commit
  10. 08 Jan, 2019 1 commit
    • Vlad Zahorodnii's avatar
      [kcmkwin] Move effects model into a shared library · c3fd6413
      Vlad Zahorodnii authored
      The main motivation for moving it into a shared library is to share the
      model between Desktop Effects and Virtual Desktops KCM.
      The extracted model is quite the same as the one in Desktop Effects KCM,
      except some minor changes, e.g. rename loadEffect and syncConfig to more
      convenient names, add comments, some whitespace changes, fix coding
      style in some parts, etc.
      Test Plan: effectModelTest passes, Desktop Effects KCM works.
      Reviewers: #kwin, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: hein, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D17765
  11. 15 Nov, 2018 1 commit
  12. 28 Sep, 2018 1 commit
    • Vlad Zahorodnii's avatar
      [effects] Make scripted effects GHNS-able · 78ce54f8
      Vlad Zahorodnii authored
      Currently, if one wants to install a scripted effect from the KDE Store,
      the effect won't show up in the Desktop Effects KCM. The reason for that
      is kpackagetool5 doesn't know where to install effects (they have to be
      installed under ${DATA_DIR}/kwin/effects).
      Another problem is that even if the scripted effect is installed in the
      right directory (e.g. ~/.local/share/kwin/effects), it won't be listed in
      the Desktop Effects KCM because it doesn't have a desktop file in
      kservices5 dir. Please notice that the effect will be "visible" for KWin, i.e.
      you can enable it by editing kwinrc.
      This diff addresses those 2 problems by:
      * Adding a PackageStructure plugin for effects (so they are installed
        under kwin/effects/);
      * Using KPackage::PackageLoader to get list of scripted effect in the
        Desktop Effects KCM.
      Test Plan:
      * Installed an effect from the KDE Store, it appeared in the Desktop Effects
      * Removed it.
      Reviewers: #kwin, mart, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: ngraham, davidedmundson, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D15372
  13. 02 Aug, 2018 1 commit
    • Vlad Zahorodnii's avatar
      [kcmkwin/compositing] Move show desktop effects to their own category · 119d0d8f
      Vlad Zahorodnii authored
      We have two exclusive categories in the Appearance category:
      minimize-animations and show-desktop. But it's hard to draw a line
      between them, i.e. one can't say whether given effect belongs to the
      minimize-animations category or to the show-desktop category.
      This change moves show desktop effects to their own category so we have only
      one exclusive category in the Appearance category.
      {F6160592, layout=center, size=full}
      {F6161173, layout=center, size=full}
      Reviewers: #kwin, #plasma, #vdg, ngraham
      Reviewed By: #vdg, ngraham
      Subscribers: davidedmundson, graesslin, ngraham, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D14458
  14. 02 Jul, 2018 1 commit
  15. 05 Mar, 2018 1 commit
    • Fabian Vogt's avatar
      Convert EffectView to a QQuickWidget · 68a2ec5d
      Fabian Vogt authored
      The Qt Wayland support for subsurfaces is broken in many ways, producing
      graphical glitches and crashes:
      https://bugreports.qt.io/browse/QTBUG-54888 for instance.
      Using a QQuickWidget instead of a QQuickView avoids those issues, with
      the additional benefit of a nicer API.
      Test Plan:
      Opened the KCM with kcmshell and systemsettings, no subsurfaces used
      Reviewers: #plasma, graesslin, davidedmundson
      Reviewed By: #plasma, graesslin, davidedmundson
      Subscribers: kwin, plasma-devel, #kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D11066
  16. 21 Oct, 2015 1 commit
    • Martin Flöser's avatar
      [kcmeffects] Do not use root context properties · 76cd1fdc
      Martin Flöser authored
      Apparently it's not allowed to set root context properties multiple
      times. If one goes to systemsettings, opens effects kcm, closes it
      and opens it again it crashes due to setting a context property with
      same name again.
      This change eliminates the need for the context property by modifying
      the property of the QML objects directly.
      BUG: 354164
      BUG: 351763
      FIXED-IN: 5.4.3
      REVIEW: 125737
  17. 18 Sep, 2015 1 commit
    • Rob Ert's avatar
      [kcmkwin/effects] Support binary effect plugins · 8686ca7c
      Rob Ert authored
      Locates plugins through KPluginMetaData. To improve code
      readability the load method is split into dedicate mehtods for
      * binary plugins
      * builtin effects
      * scripted effects
      REVIEW: 125232
      BUG: 352680
      FIXED-IN: 5.4.2
  18. 21 Jun, 2014 1 commit
    • Martin Flöser's avatar
      [kcmkwin/compositing] Better check for enabled state of Effects · 99b5426a
      Martin Flöser authored
      Introduces partially checked checkboxes for Effects. If an Effect
      has an enabled by default function and doesn't have an explicit
      value in the config file the checkbox is set to partially. If there
      is a value in the config, this will be used.
      Clicking on Default will return to the partially checked state.
      So far only the built-in effects support the partially checked state
      and also the mutual exclusive groups do not support the partial checked
      (main reason: RadioButton doesn't support it)
      BUG: 336045
      REVIEW: 118658
  19. 12 Jun, 2014 2 commits
  20. 11 Jun, 2014 2 commits
  21. 06 Jun, 2014 1 commit
  22. 26 May, 2014 1 commit
  23. 15 May, 2014 1 commit
  24. 13 May, 2014 1 commit
  25. 28 Apr, 2014 3 commits
    • Martin Flöser's avatar
      [kcmkwin] Fix locating the effect configurations · 336a870f
      Martin Flöser authored
      No longer in kf5/ prefix.
    • Martin Flöser's avatar
      Drop "kwin4_effect_" prefix for BuiltIn Effects · 7fcecc61
      Martin Flöser authored
      This removes all the hacks to add kwin4_effect_ to the name of the Effect
      and adjusts the desktop files of the effect configuration's parent
      Note: the scripted effects still start with kwin4_effect_ prefix.
      REVIEW: 117367
    • Martin Flöser's avatar
      [kcmkwin/compositing] Use BuiltinEffects to find all built-in effects · a784c918
      Martin Flöser authored
      The EffectData in BuiltinEffects is extended by all the data needed for
      the desktop effects KCM:
      * display name
      * comment
      * category
      * video-url
      * exclusive group
      * internal
      This information is taken directly from the desktop files.
      The Built-in effects are now also resolved through the BuiltInEffects
      namespace and the KServiceTypeTrader query is adjusted to only find the
      scripted effects.
      Unfortunately this introduces another round of adding "kwin4_effect_" to
      load and save the effects correctly. This will be removed once all KCMs
      are adjusted to use the new BuiltInEffects.
  26. 26 Apr, 2014 1 commit
  27. 03 Apr, 2014 3 commits
    • Martin Flöser's avatar
      Translate the names of the categories · b14cae83
      Martin Flöser authored
      The category gets read from the KService and is not translated.
      Because of that the KCM needs to do the translation of the categories.
      This was also the case in the old KCM.
      REVIEW: 117111
    • Martin Flöser's avatar
      Fix the initial size of the KCMs · 30dd9b78
      Martin Flöser authored
      Both KCMs had a hard coded default which is obviously bad. Instead we
      now calculate a useable implicitWidth and implicitHeight and use this
      as the minimum size for the KCM. Which means we need also track changes
      to these two root object properties and update the QWidget container
      BUG: 332518
      BUG: 332519
      REVIEW: 117079
    • Martin Flöser's avatar
      Load generic scripted config plugin for scripted effects · 39b61238
      Martin Flöser authored
      We check whether the effect is scripted and provides a config. If that
      is the case our normal approach for getting the config plugin fails and
      we use this case to try to load it again through the generic scripted
      config plugin.
      REVIEW: 116863
      BUG: 332186