1. 19 Mar, 2021 2 commits
  2. 04 Mar, 2021 2 commits
  3. 02 Mar, 2021 1 commit
  4. 01 Mar, 2021 1 commit
  5. 22 Feb, 2021 1 commit
  6. 09 Feb, 2021 1 commit
  7. 08 Feb, 2021 1 commit
  8. 30 Jan, 2021 1 commit
  9. 28 Jan, 2021 1 commit
    • David Redondo's avatar
      Use the same configs for watching and reading · a197df2c
      David Redondo authored
      KColorScheme uses KSharedConfig::openConfig() when no config is specified,
      we were watching a KSharedConfig::openConfig("kdeglobals") which seemingly
      is not updated instantly because it technically is different even though
      effectively it's the same config. Watching the same configs solves the theme
      not updating when the global theme is switched
  10. 21 Jan, 2021 2 commits
  11. 16 Jan, 2021 1 commit
  12. 10 Jan, 2021 1 commit
  13. 20 Dec, 2020 1 commit
  14. 12 Dec, 2020 1 commit
  15. 08 Dec, 2020 1 commit
  16. 02 Dec, 2020 1 commit
    • Mikhail Zolotukhin's avatar
      Use only GTK Module for managing window decorations CSS · 604ff30f
      Mikhail Zolotukhin authored
      Now we are no longer use gtk.css file inside ~/.config/gtk-3.0/ directory
      for window decorations. To load decorations into GTK apps we now exclusively
      use GTK module.
      The module is a GTK-app addon, that loads the buttons on application startup,
      then it reacts to changes of windows_decorations.css file in config directory
      and loads and unloads it dynamically depending on its presence.
      For example: file is present - it is loaded on the startup, file is deleted -
      it is unloaded, file is created or changed - it is loaded, while the past
      version of it is unloaded.
      File presence is controlled by kde-gtk-config kded5 module.
      BUG: 428322
      BUG: 428120
      BUG: 428842
  17. 23 Nov, 2020 1 commit
  18. 08 Nov, 2020 1 commit
  19. 31 Oct, 2020 1 commit
    • Ömer Fadıl Usta's avatar
      Fix for cpp17 : Ld couldnt reach references when we use constexpr · 464c3ee9
      Ömer Fadıl Usta authored
      /bin/ld: CMakeFiles/gtkconfig.dir/configvalueprovider.cpp.o: in function `ConfigValueProvider::windowDecorationsButtonsImages() const':
      /home/kde-dev/kde/src/kde-gtk-config/kded/configvalueprovider.cpp:205: undefined reference to `DecorationPainter::ButtonGeometry'
      /bin/ld: /bin/ld: DWARF error: could not find variable specification at offset 28298
      kwin_bridge/libKWinBridge.a(auroraedecorationpainter.cpp.o): in function `AuroraeDecorationPainter::paintButton(QPainter&, QString const&, QString const&) const':
      /home/kde-dev/kde/src/kde-gtk-config/kded/kwin_bridge/auroraedecorationpainter.cpp:29: undefined reference to `DecorationPainter::ButtonGeometry'
      /bin/ld: kwin_bridge/libKWinBridge.a(dummydecorationbridge.cpp.o): in function `KDecoration2::DummyDecorationBridge::paintButton(QPainter&, QString const&, QString const&)':
      /home/kde-dev/kde/src/kde-gtk-config/kded/kwin_bridge/dummydecorationbridge.cpp:107: undefined reference to `DecorationPainter::ButtonGeometry'
      /bin/ld: /home/kde-dev/kde/src/kde-gtk-config/kded/kwin_bridge/dummydecorationbridge.cpp:135: undefined reference to `DecorationPainter::ButtonGeometry'
      /bin/ld: kwin_bridge/libKWinBridge.a(dummydecorationbridge.cpp.o): in function `KDecoration2::DummyDecorationBridge::passMouseHoverEventToButton(KDecoration2::DecorationButton*) const':
      /home/kde-dev/kde/src/kde-gtk-config/kded/kwin_bridge/dummydecorationbridge.cpp:177: undefined reference to `DecorationPainter::ButtonGeometry'
      /bin/ld: kwin_bridge/libKWinBridge.a(dummydecorationbridge.cpp.o):/home/kde-dev/kde/src/kde-gtk-config/kded/kwin_bridge/dummydecorationbridge.cpp:178: more undefined references to `DecorationPainter::ButtonGeometry' follow
      collect2: error: ld returned 1 exit status
      after patch it compiles without any problem
  20. 23 Oct, 2020 1 commit
  21. 01 Oct, 2020 1 commit
  22. 29 Sep, 2020 1 commit
    • Jan Blackquill's avatar
      Begin writing out settings to GTK4 · 07a01254
      Jan Blackquill authored and Jan Blackquill's avatar Jan Blackquill committed
      GTK4 seems to be coming out later this year (Plasma 5.21 should release after GTK4 releases), and there doesn't seem to be any major changes coming up in regards to how configuration will be handled.
      As such, this patch begins writing out to GTK4 configuration files.
      Code has been refactored to reduce duplication of similar code between GTK3 and GTK4, and elements shared between both have dropped the GTK3 prefix.
  23. 25 Sep, 2020 1 commit
  24. 24 Sep, 2020 2 commits
    • Mikhail Zolotukhin's avatar
      Disable global animations for the time decoration is being rendered · 7af241ba
      Mikhail Zolotukhin authored
      For the short period of time we disable the animation for various
      effects that can occur when decoration is being rendered to file.
      This should prevent the decoration to render itself at the beginning
      of the animation (i.e. first "frame").
      BUG: 426687
    • David Edmundson's avatar
      Fix default decoration fallback · 60641a0d
      David Edmundson authored
      kde-gtk-config looks up the relevant library, and tries to fall back to
      breeze if nothing matches.
      An unrelated bug means breeze users are always in this fallback path.
      Name == "Breeze" only works on English.
      We should be checking the ID.
  25. 21 Sep, 2020 1 commit
  26. 17 Sep, 2020 2 commits
  27. 14 Sep, 2020 2 commits
  28. 26 Aug, 2020 3 commits
  29. 25 Aug, 2020 1 commit
    • Mikhail Zolotukhin's avatar
      Sync titlebar button appearance with GTK CSD apps · 7bffadad
      Mikhail Zolotukhin authored
      Currently GTK applications with Client Side Decorations always use
      decorations from the respected GTK CSS theme. Because of CSS nature
      different themes may handle decorations in the headerbars differently,
      therefore making modifying them via user css a very hard task. However,
      what we can do is to use decoration appearance syncing in our own theme
      - Breeze GTK.
      Breeze GTK uses svg images for the representation of decoration
      buttons (close, minimize, maximize) appearance. So to achieve the goal
      what we do is the following:
      1. We ask KWin to render current decoration buttons to custom QPainters.
         For each button we must export every state (clicked, hovered, normal, inactive).
      2. QPainters then export decoration buttons to svg's.
      3. Then we save those images to assets folder in
      4. Then we create custom .css for Breeze GTK, that tells the theme
         to use these saved images for decorations.
      All of the above is only done if the current GTK theme is Breeze.
  30. 31 Jul, 2020 1 commit
  31. 22 Jul, 2020 1 commit
  32. 21 Jul, 2020 1 commit