1. 20 May, 2020 1 commit
  2. 23 Apr, 2020 1 commit
    • Nate Graham's avatar
      [applets/batterymonitor] Put the toolbar in the header area · eca2ea2c
      Nate Graham authored
      This patch implements part of the mockup at T10470 by putting the power management
      checkbox and settings button in a heading area visually connected to the titlebar.
      In the process, I fixed a problem with the power management checkbox to make the layout's
      spacing work: the checkbox now has text of its own, instead of living in a mouse area
      with a separate label.
      Test Plan:
      Reviewers: #vdg, #plasma, broulik, niccolove, manueljlin
      Reviewed By: #vdg, manueljlin
      Subscribers: plasma-devel
      Tags: #plasma
      Maniphest Tasks: T10470
      Differential Revision: https://phabricator.kde.org/D29116
  3. 04 Mar, 2020 2 commits
  4. 31 Dec, 2019 1 commit
    • Aleix Pol Gonzalez's avatar
      battery: Improve the brightness responsiveness · 62be85f4
      Aleix Pol Gonzalez authored
      Use QQC2.Slider, so that we have a moved signal. This way we can only
      issue new brightnesses when the user actually interacts with it.
      Don't adapt to the system brightness until we have finished interacting
      with it.
      Test Plan:
      Manual testing, flickering is very much reduced both when scrolling over the
      compact plasmoid as well as the slider.
      Reviewers: #plasma, broulik
      Reviewed By: #plasma, broulik
      Subscribers: plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D26035
  5. 02 Nov, 2017 1 commit
    • Nate Graham's avatar
      Move power management checkbox to the top · 727db59f
      Nate Graham authored
      BUG: 345940
      Move the "Enable Power Management" checkbox to the top of the window to match other applets (bluetooth, network)
      Reviewers: #plasma_workspaces, broulik, mck182, davidedmundson, mart
      Reviewed By: #plasma_workspaces, davidedmundson, mart
      Subscribers: mart, jensreuterberg, davidedmundson, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D8607
  6. 25 Jul, 2017 1 commit
  7. 09 Mar, 2016 2 commits
  8. 11 May, 2015 1 commit
  9. 12 Feb, 2015 1 commit
  10. 04 Jan, 2015 1 commit
    • Kai Uwe Broulik's avatar
      Simplify OSD silencer · 049206bf
      Kai Uwe Broulik authored
      Just only show the OSD when the plasmoid isn't expanded.
      Much simpler and what I wanted to achieve in the first place anyway.
  11. 22 Dec, 2014 1 commit
    • Kai Uwe Broulik's avatar
      Don't show OSD when dragging the slider · c8688f43
      Kai Uwe Broulik authored
      Prevent a "You don't say" moment, only show the OSD when using the mousewheel on the tray icon
      to provide feedback. Also make it more finegrained and allow 5% steps on the tray icon
  12. 08 Dec, 2014 1 commit
  13. 06 Dec, 2014 1 commit
  14. 05 Dec, 2014 1 commit
    • Kai Uwe Broulik's avatar
      Use absolute brightness values in battery monitor · 2c85cf22
      Kai Uwe Broulik authored
      This finally allows us to have predictable sliders where a wheel whill always
      result in a brightness change rather than having it go from 0 to 10 which is still
      below 33% in case of 3 keyboard brightness steps resulting in no change whatsoever.
      It also shows 0/3, 1/3, etc instead of percentage in such cases.
      Also clean up a bit, remove superfluous clipping and prevent brightness change
      on popup instantiation
  15. 04 Oct, 2014 2 commits
  16. 10 Aug, 2014 1 commit
  17. 05 Aug, 2014 1 commit
  18. 25 Jun, 2014 1 commit
  19. 20 Jun, 2014 2 commits
  20. 19 Jun, 2014 2 commits
  21. 15 Jun, 2014 4 commits
    • Kai Uwe Broulik's avatar
      Always show battery remaining time · fc3da7a5
      Kai Uwe Broulik authored
      I am really tired of this topic. Yes, the battery remaining time is not that accurate and
      jumps around (the latter is something that could be fixed using a moving average). But if
      we jump onto that train we would also need to remove the battery percentage itself as it's not
      accurate either. 30% on a dead battery can quickly become 5% and then the notebook suddenly
      turns off. "Battery: Present".
      The remaining time is in the battery's tooltip, many distributions have even patched the
      battery monitor to show the time by default, there's even a clone of the original battery
      monitor on GHNS just with that option enabled; every other desktop environment even emphasizes
      the remaining time, Windows prefers the time over percentage, Mac OS X allows you to put
      the remaining time in the panel rather than the percentage, etc etc.
      As a maintainer I now made the decision to show remaining time by default - it's no
      "in your face" display but in the battery's detail section - and I would kindly
      ask all the people involved in this discussion to respect this. Thank you!
      BUG: 290578
    • Kai Uwe Broulik's avatar
    • Kai Uwe Broulik's avatar
      Fix and prettify no controls label · 4fe62acc
      Kai Uwe Broulik authored
    • Kai Uwe Broulik's avatar
      Breezify Battery Monitor · e0978f45
      Kai Uwe Broulik authored
      - Batteries are now in a proper ScrollView since in Plasma 5 popups can not (yet?) be resized
      - Get rid of that expanding thing for details, it was fancy and all in 4 but doesn't play well with 5
      - Use ToolTip for battery details
      - Remove redundant information (non-power supply display name is always vendor + model, no need to show these in the details again)
      - Make icons medium size to be consistent with Plasma NM
      - More refined spacing
  22. 10 Jun, 2014 1 commit
  23. 23 May, 2014 2 commits
    • Sebastian Kügler's avatar
      Fix updateSelection · 8688854a
      Sebastian Kügler authored
    • Sebastian Kügler's avatar
      Clean up Battery Monitor · 75fe56a6
      Sebastian Kügler authored
      This patch simplifies the battery's ui, and brings spacing in line with
      Plasma 5 standards.
      In detail:
      - removing the selection item on batteries: it's already visible by the
        text shown that the battery is selected. It also doesn't need the
        selection semantics across the ui, because -- for what?
      - remove separator lines, in Plasma 5, we use spacing for this case
      - Improve HighDPI by removign hard-coded layout hints, use units.gridUnit
      - Fix batteryitem's status: it would show the wrong icon and time label,
        because AC Adapter can be empty. Checking charging is semantically
        correct here, since it uses the charge state, not the adapter state.
      - remove a bunch of SVGs that were used internally to get margins -- use
        gridUnit for layout internal margins instead
      - fix slider's right alignment, this would jump based on the percentage
        label's width, which varies per item. We know the rough length of the
        percentage label from the context, and can align the labels to that.
      Thanks everybody for the reviews!
  24. 30 Mar, 2014 1 commit
    • Aleix Pol Gonzalez's avatar
      Initial import from the monolithic kde-workspace. · da27b276
      Aleix Pol Gonzalez authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      techbase wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      Branched from the monolithic repo kde-workspace, frameworks  branch, at commit