1. 08 Dec, 2020 1 commit
  2. 04 Nov, 2020 1 commit
  3. 16 Oct, 2020 1 commit
  4. 13 Aug, 2020 1 commit
  5. 01 May, 2020 1 commit
  6. 22 Apr, 2020 1 commit
  7. 18 Apr, 2020 2 commits
  8. 21 Nov, 2019 1 commit
  9. 20 Nov, 2019 1 commit
    • David Faure's avatar
      korgac: honour notification inhibition by delaying reminders · 60b10dc8
      David Faure authored
      Or in layman terms, don't pop up reminders during a presentation.
      Plasma has a "do not disturb" setting (which is even automatically
      enabled when mirroring the screen onto a projector), and that setting is
      available via a property in a freedesktop notifications interface.
      The code is in alarmdialog rather than alarmclient because the "suspend"
      code is in alarmdialog and calls wakeUp() directly.
      Test Plan:
      - Create event in korganizer with reminder in 2 minutes
      - Enable "do not disturb" mode in Plasma (Notifications systray icon)
      - Wait for > 2 minutes, no reminder
      - Disable "do not disturb" mode
      - The reminder shows immediately
      - Click Suspend for 1 minute
      - Enable "do not disturb" again
      - Wait for > 1 minute, no reminder
      - Disable "do not disturb" mode
      - The reminder shows immediately
      Reviewers: djarvie, broulik, davidedmundson
      Reviewed By: broulik
      Subscribers: winterz, kde-pim
      Tags: #kde_pim
      Differential Revision: https://phabricator.kde.org/D25399
  10. 18 Nov, 2019 2 commits
  11. 31 Jul, 2019 1 commit
  12. 19 Jun, 2019 1 commit
  13. 20 Jan, 2019 1 commit
  14. 16 Jan, 2019 1 commit
  15. 26 Oct, 2018 2 commits
    • Laurent Montel's avatar
      Patch from David Fries · 709d5c4e
      Laurent Montel authored
      Instead of saving position sometimes (application close, suspend
      reminder), save at each point the dialog hides, dismiss reminder,
      dismiss all, escape or window close, etc.
      In addition to saving the position, save the geometry to get the size
      as well, that way if the user wants it bigger (or smaller) the only
      have to do it once.
      The logic was show, move, which would run in that order, the window
      shows, then it moves to the correct location which looks bad, restore
      the position & size, then show, so it appears in the final location.
      BUG: 347486
      Test Plan
      A quicker way to test this is with a previous patch "Show Reminders" dock menu item option, as opposed to setting a bunch of reminders and waiting for them to go off.
      before patch is applied/after patch is applied behaviors
          move the Reminder window to a corner of the screen, show the Reminder window [ before/after it will appear at the same location]
          move the Reminder window to a different corner, press escape, show the Reminder window [ before the escape position didn't save and it appears in the previous location, after it appears in the escape position]
          make the Reminders window large, show Reminders window [ before/after it is the large size]
          exit korgac, run korgac, show Reminders window [ before it is back to the previous normal size, after it is the larger size]
      Reviewers: mlaurent, dvratil
      Reviewed By: dvratil
      Subscribers: dvratil, kde-pim
      Tags: #kde_pim
      Differential Revision: https://phabricator.kde.org/D16245
    • Laurent Montel's avatar
      korgac: Add an option to not grab keyboard focus when a reminder is displayed · 893de3dc
      Laurent Montel authored
      While it can make it easier to dismiss (if it grabs focus through the
      activateWindow call), it also means if you are typing and a reminder
      comes in it will both get those keystrokes and a space or return will
      dismiss the reminder before you have a chance to ever see what the
      reminder was about, which assumes you are even looking at your screen
      to see the reminder box flash up, if you are typing in a paper you
      might not even know.
      Test Plan:
      Setup two notifications in korganizer one minute apart.
      I the dock window menu test once with "Reminder grabs focus" enabled and once with it disabled.
      Give focus to some other program before the first alarm and second alarm, don't dismiss the reminder box between alarms.
      With "Reminder grabs focus" checked, the Reminders window should get focus on the second reminder, (this is also the behavior before this change).
      With "Reminder grabs focus" unchecked, the Reminders window should not get focus on the second reminder.
      Note I'm writing this up for two reminders to avoid the case of window managers which automatically give focus on every new window that pops up.  That's a policy choice on the user/window manager and if this did something to not get focus in that case, this would be going against that policy.
      Reviewers: mlaurent, dvratil
      Reviewed By: dvratil
      Subscribers: dvratil, kde-pim
      Tags: #kde_pim
      Differential Revision: https://phabricator.kde.org/D16242
  16. 12 May, 2018 1 commit
  17. 05 Apr, 2018 1 commit
  18. 30 Mar, 2018 1 commit
  19. 10 Dec, 2017 1 commit
  20. 27 Sep, 2017 1 commit
  21. 10 Sep, 2017 1 commit
  22. 03 Sep, 2017 1 commit
  23. 04 Jun, 2017 1 commit
  24. 21 Apr, 2017 1 commit
  25. 02 Jan, 2017 1 commit
  26. 21 Jul, 2016 2 commits
  27. 18 Apr, 2016 1 commit
  28. 22 Oct, 2013 1 commit
  29. 30 Oct, 2012 1 commit
  30. 11 Aug, 2012 1 commit
  31. 05 Aug, 2012 1 commit
  32. 04 Mar, 2011 1 commit
  33. 25 Feb, 2011 2 commits
  34. 30 Sep, 2010 1 commit
    • Allen Winter's avatar
      forward port SVN commit 1181343 by winterz: · c2d8ab89
      Allen Winter authored
      add a keyPress handler to trap the <Return> key so it can't be used
      to close the reminder accidentally.
      svn path=/trunk/KDE/kdepim/korganizer/; revision=1181363
  35. 18 Sep, 2010 1 commit