After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775885 - Notifications should be automatically revoked
Notifications should be automatically revoked
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-12-09 14:01 UTC by Allan Day
Modified: 2016-12-14 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2016-12-09 14:01:58 UTC
I have two notifications that have been sitting in my "tray" forever. The first is an "<app> has been installed" notification. The other is "Additional fonts required". Both were sent by Software, and both have outlived their usefulness.

Wherever possible, notifications ought to be revoked when they are no longer useful, in order to prevent the user from having to manually remove them themselves.

In the "<app> has been installed" case, the notification could be removed when:

 * The installed app is launched from Software
 * Software is closed by the user

Maybe there are other conditions also.

"Additional fonts required" is possibly more tricky. Ideally it would be removed when the user closes the app that requested the fonts, but I'm guessing that's not so easy.
Comment 1 Richard Hughes 2016-12-14 13:46:07 UTC
commit b99dff275891e9c436434c6a6e5cd73e843a6d9d
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Dec 14 13:45:46 2016 +0000

    Hide some notifications when the app is launched or the window is closed
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=775885

:100644 100644 a21f28f... 91c205c... M  src/gs-shell-details.c
:100644 100644 148c617... 144691d... M  src/gs-shell.c