1. 02 May, 2022 1 commit
    • ivan tkachenko's avatar
      [lookandfeel] Fix collapsed width of a volume/brightness OSD on a lock screen · b6d5966c
      ivan tkachenko authored
      Amends c067d498.
      Having `preferredWidth: 1` set on an only item that also stretches with
      fillWidth AND without top-to-bottom sizing (fixed size imposed by
      parent component) doesn't really make sense. It naturally increased row
      layout's implicitWidth by only 1, and that value were used as an input
      to the final width expression (bottom-up sizing).
      This patch fixes the sizing model to be strictly implicit bottom-up and
      explicit top-down, and so the slider no longer collapses.
      BUG: 446185
      (cherry picked from commit 2861d1fc)
  2. 08 Nov, 2021 1 commit
    • Marco Martin's avatar
      fixed size hints to the osd · e4ea7286
      Marco Martin authored
      KWin can't notice soon enough the window being an osd type, so work around
      by setting min and max size hints to the same value to make it non resizable
  3. 14 Aug, 2021 1 commit
  4. 08 Apr, 2021 1 commit
    • Nate Graham's avatar
      Port to singleton Theme · fc769576
      Nate Graham authored
      We ported units to use the PlasmaCore.Units singleton earlier; now it's
      time to do the same thing for PlasmaCore.Theme.
      There are no UI changes or regressions detected.
  5. 05 Mar, 2021 1 commit
    • Nate Graham's avatar
      Port to singleton Units · 2f4b27fc
      Nate Graham authored
      The context property version is slower to access and won't be supported
      in Qt6. Let's port away from it and use the singleton version instead.
      Here was my full process for making this change:
      1. Made the change with `find . -name '*.qml' | xargs perl -pi -e 's/units\./PlasmaCore\.Units\./g'`
      2. Verified no more occurrences with `grep -r " units."`
      3. Made sure this didn't change any comments in a silly way by inspecting the output of `git diff | grep "+   " | grep "//"`
      4. Manually inspected the full git diff to make sure there were no other unintentional or silly changes (there were none)
      5. verified that all changed files have the PlasmaCore import with the correct name with `for FILE in `git status | grep modified | cut -d ":" -f 3`; do grep -q "as PlasmaCore" $FILE || echo "$FILE needs the PlasmaCore import"; done`
  6. 09 Nov, 2020 1 commit
  7. 25 Oct, 2020 1 commit
  8. 07 Jul, 2020 1 commit
    • Nate Graham's avatar
      [OSD] Colorize percentage text when over 100% · 03528a97
      Nate Graham authored
      We've now made it easier to increase the maximum volume to 150% for
      those who need it due to quiet speakers. However since this could
      potentially lead to excessive volume or damage to loud speakers with
      long-term use, let's colorize the text to subtly indicate that this is
      not a normal state.
  9. 01 Jul, 2020 1 commit
    • Nicolas Fella's avatar
      Allow specifying a maximum percent value for volume OSDs · a67ab7e4
      Nicolas Fella authored
      The volume setting in plasma-pa can exceed 100%. Currently the display is limited to 100%, which can result in a mismatch between what is shown in the applet and in the OSD.
      This adds an overload to volumeChanged to keep the old one compatible given it is used by e.g. kmix
  10. 29 May, 2020 1 commit
  11. 22 May, 2020 1 commit
  12. 20 May, 2020 1 commit
    • Kai Uwe Broulik's avatar
      [OSD] Fix ProgressBar potentially growing the dialog · c067d498
      Kai Uwe Broulik authored
      Depending on font size and settings the ProgressBar's implicit size might be wider
      than our minimum size of 15 gridUnit. This causes the Popup to change size when switching
      from ProgressBar (e.g. changing volume) to Text (e.g. volume muted).
      By setting preferredWidth to 1 we ensure we never exceed the overall minimum size
      when the ProgressBar is shown.
  13. 19 May, 2020 2 commits
    • Nate Graham's avatar
      [lookandfeel] Port OSD's slider to PlasmaComponents3 · b9aba6eb
      Nate Graham authored
      It has more correct vertical sizing, which now matters with the new
      OSD design.
    • Kai Uwe Broulik's avatar
      Use more compact OSD · af31ad46
      Kai Uwe Broulik authored and Nate Graham's avatar Nate Graham committed
      A frequent complaint over the years is the size of the OSD. It was tried to alleviate that by having it start fading out slowly immediately but the way it was done wasn't ideal, didn't work on Wayland, and also causes flickering issues in recent Qt versions.
      This changes the OSD to a bar-like design similar to the one used in Plasma 4.
      BUG: 344393
      BUG: 372665
      FIXED-IN: 5.20.0
      Depends on D29263
      Test Plan:
      Various OSD messages
      It can grow, if necccessary, to accomodate translations, up to half the screen width.
      With Air theme
      Full desktop screenshot for some context
      Reviewers: #plasma, #vdg, broulik, niccolove, ndavis
      Reviewed By: #vdg, niccolove, ndavis
      Subscribers: ndavis, kori, Armstrong, alexde, achauvel, abetts, ngraham, davidedmundson, hein, Codezela, filipf, zzag, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D20569
  14. 20 Dec, 2019 1 commit
  15. 13 Dec, 2019 1 commit
  16. 11 Apr, 2018 1 commit
  17. 15 Sep, 2016 1 commit
  18. 06 Jun, 2016 1 commit
  19. 28 Jul, 2015 1 commit
  20. 27 Jul, 2015 2 commits
  21. 22 Mar, 2015 1 commit
    • David Edmundson's avatar
      Sanitise input to osd progress bar · 770b5dd6
      David Edmundson authored
      Previous code checked the progress bar was visible and only then set the
      osdValue (which is a var). This relies on inner workings of the OSD
      service to set values in the right order.
      This fixes a binding loop on startup and will be slightly faster as we
      won't update value twice when showing OSD.
      BUG: 344684
  22. 09 Mar, 2015 1 commit
  23. 27 Feb, 2015 2 commits
  24. 10 Feb, 2015 2 commits