1. 30 Apr, 2022 1 commit
  2. 14 Apr, 2022 1 commit
  3. 28 Mar, 2022 1 commit
  4. 23 Feb, 2022 1 commit
    • Jan Blackquill's avatar
      kstyle: fix low contrast tabs on dark · 9d361c9e
      Jan Blackquill authored
      This fixes the contrast of tabs on dark themes by using
      a darkening factor on the Window colour, adjusted for
      whether it's light or dark, instead of using the Shadow
      colour for both light and dark themes.
      BUG: 438627
      FIXED-IN: 5.25
  5. 17 Jan, 2022 1 commit
  6. 31 Dec, 2021 1 commit
  7. 11 Oct, 2021 1 commit
    • Tatsuyuki Ishi's avatar
      shadow: handle DPR outside the renderer · ee06e262
      Tatsuyuki Ishi authored and Noah Davis's avatar Noah Davis committed
      QPainter's auto-scaling is prone to off-by-one rounding errors and draws on
      fractional coordinates. With this change, we paint on a 1x DPR QPainter and
      scale the shadow offset and strength manually based on DPR.
      This resolves an issue with resulting in seams on the right and bottom
      edges of a menu due to shadow boundaries being off-by-one.
      BUG: 418166
      v2: remove unrelated formatting changes
      - move the DPR helper to ShadowHelper
      - retrieve the DPR from the widget instead of the global QGuiApplication
      - added BUG reference
  8. 25 Sep, 2021 1 commit
    • Noah Davis's avatar
      kstyle: Clean up tab painting and tweak tab highlight · 46344e71
      Noah Davis authored
      The previous way it was painted was kind of messy in the sense that
      other parts overlapped with the active tab when they shouldn't have or
      didn't overlap enough like with the highlight. There were also some
      painting artifacts that were just weird and are now gone.
  9. 24 Sep, 2021 3 commits
  10. 16 Sep, 2021 1 commit
  11. 15 Sep, 2021 3 commits
  12. 14 Sep, 2021 1 commit
  13. 10 Aug, 2021 1 commit
  14. 27 Jul, 2021 1 commit
    • Nate Graham's avatar
      Make radiobutton center dots smaller · 5c385621
      Nate Graham authored
      We've gotten some feedback that radio buttons look like big creepy eyes
      that are staring at you. To reduce that effect, this commit makes the
      center dots a bit smaller.
  15. 08 Jun, 2021 7 commits
  16. 06 May, 2021 1 commit
  17. 20 Mar, 2021 1 commit
  18. 26 Feb, 2021 1 commit
  19. 02 Jan, 2021 1 commit
  20. 19 Nov, 2020 1 commit
  21. 18 Nov, 2020 1 commit
    • Fabian Vogt's avatar
      Revert "Draw frame outline at the outer edge, not a pixel further inside" · ae65ce30
      Fabian Vogt authored
      This reverts commit 7e678c34 and the followup.
         A       B
      +-----+ +-----+   C
      |     | |XXXXX| +---+
      | XXX | |X   X| |XXX|
      | XCX | |X C X| |XCX|
      | XXX | |X   X| |XXX|
      |     | |XXXXX| +---+
      +-----+ +-----+
      Initially it was A, the referenced commit changed it to be B instead, which
      created a 1px gap between frame and content, and the followup avoids that gap
      by adjusting the frame width, resulting in C.
      Although it's consistent, it leads to a worse apperance in places where the 1px
      margin between frame and rect was expected.
  22. 11 Nov, 2020 1 commit
    • Michael Weghorn's avatar
      Draw frame outline at the outer edge, not a pixel further inside · 7e678c34
      Michael Weghorn authored
      The documentation for 'QPainter::drawRoundedRect' [1]
      "A filled rectangle has a size of rect.size(). A stroked
      rectangle has a size of rect.size() plus the pen width."
      Therefore, the frame rect passed to that method needs to
      be adjusted according to the pen width for the case where
      the rect is stroked (i.e. an outline exists), and no
      adjustement is needed when the rect is not stroked so
          [size of rect] + [outline width] = [wanted total size]
      The default pen size is 1 (which is also the value
      of 'PenWidth::Frame' used to calculate the radius for the
      outline a few lines further down).
      For the case that an outline exists, the adjustment of
      the rect already happens in the call to 'Helper::strokedRect',
      so there is no need for reducing the rect by one additional
      pixel on each side, which resulted in the frame border
      unnecessarily not being right at the inner edge of the
      rect, but one additional pixel "further inside".
      It looks like the additional adjustment was originally added
      by commit 3dbcea7e
      ("Changed frame width to 2, to cope with focus rect.",
      2014-07-30), later adapted by  commit
      ("Render 2px focused outline *inside* frames rather than outside",
      2014-08-11) and commit 2985b4cb
      ("use one pixel for focus frame instead of 2", 2014-09-22).
      While 'Metrics::Frame_FrameWidth' still has the value 2,
      it is not used here at all, so the default pen width of 1
      Therefore, drop the extra adjustment in order for the
      stroke to be drawn right at the edge of the rect.
      [1] https://doc.qt.io/qt-5/qpainter.html#drawRoundedRect
      BUG: 428973
  23. 02 Oct, 2020 1 commit
  24. 28 Sep, 2020 1 commit
    • Jan Blackquill's avatar
      [kstyle] Tools area · 509ff6bc
      Jan Blackquill authored
      Summary: There is now a tools area.
      Test Plan:
      {F8132260} (no border drawn when titlebar and content colours are the same)
      Reviewers: #plasma, #breeze, #vdg, hpereiradacosta, davidre, ngraham
      Reviewed By: #breeze, #vdg, hpereiradacosta, ngraham
      Subscribers: mart, maartens, abstractdevelop, IlyaBizyaev, davidre, davidedmundson, hpereiradacosta, ngraham, manueljlin, niccolove, ndavis, plasma-devel
      Tags: #plasma
      Maniphest Tasks: T10201, T11661
      Differential Revision: https://phabricator.kde.org/D27669
  25. 21 Sep, 2020 1 commit
  26. 17 Sep, 2020 1 commit
  27. 10 Sep, 2020 1 commit
  28. 10 Aug, 2020 1 commit
  29. 29 Jul, 2020 1 commit
  30. 24 Apr, 2020 1 commit
    • David Redondo's avatar
      Fix variable mixup · 49cff212
      David Redondo authored
      Caused icons to be not longer recolored when changing the color scheme until an
      application is started again
      Test Plan: Change color scheme while having an application open, icons should change color correctly
      Reviewers: #breeze, #plasma, ndavis
      Reviewed By: #breeze, ndavis
      Subscribers: ndavis, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D29012