D22429: Make "Updates Available" nofication persistent but low priority

Nathaniel Graham noreply at phabricator.kde.org
Fri Jul 12 23:13:01 BST 2019


ngraham created this revision.
ngraham added reviewers: apol, Discover Software Store.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ngraham requested review of this revision.

REVISION SUMMARY
  Discover's "Updates are available" notification currently suffers from some problems:
  
  1. With the default timeout, it disappears quickly and is likely to be missed
  2. After timing out, it appears in thie history, where is is both redundant (because the Update Notifier system tray icon has become visible) and also useless (because it can't be interacted with due to https://bugs.kde.org/show_bug.cgi?id=407361 and https://bugs.kde.org/show_bug.cgi?id=407667)
  3. Once updates are performed, the notification in the history sticks around uselessly because notifications can't be revoked once they're in the history (See https://bugs.kde.org/show_bug.cgi?id=409323#c3)
  
  This patch fixes those issues by making the update persistent but low priority.
  
  This means it must be noticed by the user and interacted with in some way before it
  disappears from the screen--either by dismissing it or running the updates. But once
  dismissed, it's gone forever, and doesn't clutter up your history.
  
  BUG: 409757
  BUG: 409331
  FIXED-IN: 5.17.0

TEST PLAN
  1. Have updates available
  2. Deploy patch
  3. Restart plasmashell
  4. See that the notification is now persistent
  5. Dismiss notification
  6. See that it no longer clogs up the history
  7. Restart plasmashell again
  8. Click on the notification's body or "Update" button
  9. See that Discover opens and the notification disappears

REPOSITORY
  R134 Discover Software Store

BRANCH
  polish-notification-behavior (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D22429

AFFECTED FILES
  libdiscover/resources/discoverabstractnotifier.notifyrc
  notifier/DiscoverNotifier.cpp
  notifier/DiscoverNotifier.h

To: ngraham, apol, #discover_software_store
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190712/b444adfd/attachment.html>


More information about the Plasma-devel mailing list