1. 07 Oct, 2021 1 commit
  2. 14 Aug, 2021 1 commit
  3. 06 Aug, 2021 1 commit
  4. 05 Aug, 2021 1 commit
  5. 25 May, 2021 1 commit
  6. 24 May, 2021 1 commit
  7. 26 Apr, 2021 1 commit
  8. 23 Apr, 2021 1 commit
    • Carl Schwan's avatar
      Redesign calendar applet · c1b9f3fc
      Carl Schwan authored
      This uses the newly introduced API in plasma-framework to use a custom calendar
      header in the applet header and moves the events and timezone information to the
      left column and the calendar to the right column.
      c1b9f3fc
  9. 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.
      fc769576
  10. 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`
      2f4b27fc
  11. 14 Jan, 2021 1 commit
  12. 11 Jan, 2021 1 commit
  13. 16 Nov, 2020 1 commit
    • Konrad Materka's avatar
      Fix QML Binding warnings · 76890219
      Konrad Materka authored and Nate Graham's avatar Nate Graham committed
      Qt 5.14 introduced new restoreMode mandatory property. Fix warnings like this one:
      QML Binding: Not restoring previous value because restoreMode has not been set.
      76890219
  14. 11 Nov, 2020 1 commit
    • Nate Graham's avatar
      [applets/digital-clock] Overhaul how to change between timezones · 87f90472
      Nate Graham authored
      Right now we have a usability problem: the Digital Clock applet has two
      ways to let you change the timezone displayed in the applet itself, but
      has no easy link to the correct way to change the timezone systemwide. As
      a result, users change the timezone in the clock and wonder why times are
      wrong everywhere else throughout the OS.
      
      This commit removes the feature of changing the timezone in just the
      clock, and replaces it with an overhauled Time Zones page in the config
      dialog and a new button in the popup that links you to the Date & Time
      KCM where you can change the systemwide time zone in the correct way.
      
      I anticipate that this may cause some grumbling from people who currently
      use the "mouse wheel to cycle through timezones" behavior, but now that
      all the timezones and their times are displayed prominently in the popup,
      you can just click on the applet to show the popup instead of rolling the
      mouse wheel over it to cycle through times; it's different, but no worse.
      
      BUG: 428096
      FIXED-IN: 5.21
      87f90472
  15. 10 Nov, 2020 1 commit
    • Konrad Materka's avatar
      Fix Connections warnings · 5abed2dd
      Konrad Materka authored
      Qt 5.15 introduced new syntax for defining Connections. Fix warnings like this one:
      QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
      5abed2dd
  16. 31 Oct, 2020 1 commit
  17. 05 Oct, 2020 1 commit
  18. 25 Aug, 2020 1 commit
  19. 07 Aug, 2020 1 commit
  20. 23 Jul, 2020 1 commit
    • Nate Graham's avatar
      Begin porting to PlasmaComponents3 · f55b00fe
      Nate Graham authored
      This begins the process of porting plasma-workspace to PlasmaComponents3. At
      this point, only the relatively easy work is done. Every file not ported
      now has been given the reason for still using PC2 in a comment on the import
      line so you can see at a glance what the blocker is by running
      `grep -r "org.kde.plasma.components 2.0"` in the repo.
      
      Everything is tested and there are no breakages or functional regressions. In
      the process, a few unused imports are removed.
      
      Here are the remaining PC3 omissions blocking what's left from getting easily
      ported:
      - No Highlight
      - No ListItem
      - No PageStack
      - No ContextMenu
      - No QueryDialog
      - No ModelContextMenu
      - TabBar has no left and right tab states
      - ToolButton has no built-in method to show a menu when clicked
      f55b00fe
  21. 19 Jun, 2020 1 commit
    • Nate Graham's avatar
      [applets/digital clock] Make pop-up layout more compact and consistent · a45e27b4
      Nate Graham authored
      We got some user complaints about the new Calendar pop-up, saying that
      it used too much space, which honestly is a reasonable critique.
      
      This MR tweaks the layout in the following ways:
      - Reduce paddings from units.largeSpacing to units.smallSpacing
      - Replace the huge custom date header with a standardized PlasmoidHeader
        containing the current locale's standard long date and the pin button
      - Move the events view from under the calendar into the column to the
        right of the calendar, sharing space with the list of clocks
      - Increase space efficiency of Events view by removing the per-event-type section headers
      
      Hopefully this should address concerns with the 5.19 layout. I think it
      does look much nicer, myself.
      a45e27b4
  22. 30 Mar, 2020 1 commit
    • Eugene Popov's avatar
      [applets/digital-clock] Fix calendar events not being shown at first · a05dc73c
      Eugene Popov authored and Nate Graham's avatar Nate Graham committed
      Summary:
      I noticed that on the first time I bring up the calendar by clicking the clock on my Plasma panel, it always shows "No event for today". If I click another day on the calendar and then click back on today, it shows today's events fine. It should display it correctly the first time.
      
      To fix this bug, we need to compare the date without time.
      
      BUG: 395956
      FIXED-IN: 5.19.0
      
      Reviewers: ngraham, #plasma, vkrause
      
      Reviewed By: ngraham
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D28354
      a05dc73c
  23. 23 Mar, 2020 2 commits
    • Nate Graham's avatar
      Make Pin buttons consistently sized in System Tray and Clock pop-ups · 3a44e360
      Nate Graham authored
      Summary:
      The Pin buttons in the System Tray and Clock pop-ups are very small. This has
      always felt slightly odd to me, and the recent change to add a defined header
      area for the System Tray pop-up makes it even odder in my opinion, as the icon
      is now much smaller than the area it visibly inhabits. This patch makes both icons
      in both applets use the standard size with no local overrides. The clock pop-up's
      pin button is ported to PC3 in the process.
      
      Depends on D28228
      
      Test Plan:
      Before: {F8194101}
      After: {F8194100}
      
      Reviewers: #vdg, #plasma, ognarb, mart
      
      Reviewed By: #vdg, #plasma, ognarb, mart
      
      Subscribers: mart, ndavis, broulik, ognarb, plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T10470
      
      Differential Revision: https://phabricator.kde.org/D28211
      3a44e360
    • Nate Graham's avatar
      [applets/digital-clock] Switch timezones by clicking on them in the popup · e5caa59a
      Nate Graham authored
      Summary:
      This patch allows you to switch the timezone by clicking on your desired one in the
      applet's expanded representation. This is much simpler than the mouse-wheel-based UI and
      does not need a config setting to turn it on or off.
      
      Test Plan: {F8183863}
      
      Reviewers: #vdg, #plasma, jriddell, cblack
      
      Reviewed By: #vdg, #plasma, cblack
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T9222
      
      Differential Revision: https://phabricator.kde.org/D28133
      e5caa59a
  24. 18 Mar, 2020 1 commit
    • Nate Graham's avatar
      [applets/digital-clock] Increase size of calendar in pop-up · 86f0e491
      Nate Graham authored
      Summary:
      Various people were complaining that the calendar was too squished after D27903. This
      patch restores its size to be closer to the old version. As a consequence, the whole
      expanded representation is quite large now, but there really is no other way.
      
      Test Plan:
      Before: {F8181551}
      After: {F8181550}
      
      Reviewers: #vdg, broulik, mart, cblack
      
      Reviewed By: #vdg, cblack
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D28104
      86f0e491
  25. 13 Mar, 2020 1 commit
    • Nate Graham's avatar
      [applet/digital-clock] Show time zones in expanded representation too · 2130c848
      Nate Graham authored
      Summary:
      Right now time zones are only shown in the tooltip, which is annoying since the tooltip
      times out aftew a few seconds, so it often closes before I can find the timezone I'm
      looking for.
      
      This patch adds a view for the current tomezones in the expanded representation, and
      implements a mockup in https://bugs.kde.org/show_bug.cgi?id=395655 showing a proposal
      for how to present this information.
      
      The Expanded Representation is also ported to Layouts in order to make this task easier.
      
      FEATURE: 395655
      FIXED-IN: 5.19.0
      
      Test Plan:
      Just calendar: {F8157434}
      
      Calendar + events: {F8157435}
      
      Calendar + time zones: {F8157436}
      
      Calendar + events + time zones: {F8157437}
      
      Reviewers: #vdg, #plasma, cblack
      
      Reviewed By: #vdg, cblack
      
      Subscribers: cblack, apol, plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T9222
      
      Differential Revision: https://phabricator.kde.org/D27903
      2130c848
  26. 13 Feb, 2020 1 commit
  27. 09 Jan, 2020 1 commit
    • Konrad Materka's avatar
      [SystemTray] Set maximum size to block tiling · 4a65dcef
      Konrad Materka authored
      Summary:
      System tray dialog/popup can be tiled. This should not be allowed, in this case expanded representaiton should have fixed size. When tiled, it is no longer possible to restore original size.
      This also applies to other plasmoids.
      
      BUG: 386551
      FIXED-IN: 5.18.0
      
      Test Plan:
      1. Open any applet from system tray (for example Clipboard or hidden items)
      2. Use shortcut to tile window (by default Meta + Left/Righ/...)
      3. Applet will change size and tile at the borded of the screen
      4. Expected:
      a) before fix: allowed and not possible to restore size
      b) after fix: not allowed or restores size on next open
      
      Reviewers: #plasma_workspaces, #plasma, davidedmundson, broulik, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: ngraham, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D26545
      4a65dcef
  28. 09 Mar, 2019 1 commit
  29. 12 Dec, 2018 1 commit
  30. 04 Jan, 2018 1 commit
  31. 13 Oct, 2017 1 commit
    • David Edmundson's avatar
      Make calendar pin persistent across sessions · 0ef9782b
      David Edmundson authored
      Summary:
      A user can "pin" the calendar so that it won't get closed on focus
      change, but only when the clock is clicked again.
      
      This persists across open/close operations, but currently doesn't
      persist across Plasma restarts.
      
      This patch loads the saved config value of the last pinned state.
      
      Test Plan:
      Opened calendar, set pin, closed it, reopened and it was still pinned
      (which is the current state)
      killed plasma, restarted plasma, was still pinned (new)
      
      Reviewers: #plasma
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D8252
      0ef9782b
  32. 14 Dec, 2016 1 commit
    • Miklós Máté's avatar
      Calendar: clear selection on opening · c30edd9b
      Miklós Máté authored and David Edmundson's avatar David Edmundson committed
      When opening the calendar popup of the digital clock plasmoid, the
      selection is on the day the popup was last opened -- possibly days or
      weeks ago. This patch fixes that.
      
      REVIEW: 129308
      c30edd9b
  33. 12 Aug, 2016 1 commit
  34. 06 Jul, 2016 1 commit
  35. 13 Jun, 2016 1 commit
  36. 25 May, 2016 2 commits
  37. 08 May, 2016 1 commit
  38. 03 May, 2016 1 commit