Fixed in upstream commit:
commit 8d15294552b1b47888f16222db2cf1c17482faee
Author: Richard Hughes <[email protected]>
Date: Mon Sep 12 16:50:58 2016 +0100
Only show the external installed notification on success
diff --git a/src/gs-page.c b/src/gs-page.c
index 852b7e3..8cce6e5 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -172,7 +172,7 @@ gs_page_app_installed_cb (GObject *source,
}
/* only show this if the window is not active */
- if (gs_app_get_state (helper->app) != AS_APP_STATE_QUEUED_FOR_INSTALL &&
+ if (gs_app_is_installed (helper->app) &&
!gs_shell_is_active (priv->shell))
gs_app_notify_installed (helper->app);
** Also affects: gnome-software (Ubuntu Yakkety)
Importance: Medium
Status: Triaged
** Also affects: gnome-software (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: gnome-software (Ubuntu Xenial)
Status: New => Triaged
** Changed in: gnome-software (Ubuntu Xenial)
Importance: Undecided => Low
** Changed in: gnome-software (Ubuntu Yakkety)
Importance: Medium => Low
** Changed in: gnome-software (Ubuntu Yakkety)
Status: Triaged => Fix Committed
** Changed in: gnome-software (Ubuntu Yakkety)
Assignee: (unassigned) => Robert Ancell (robert-ancell)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1568935
Title:
notify-send shows "application has been installed" even when
authenticate window is cancelled
Status in gnome-software package in Ubuntu:
Fix Committed
Status in gnome-software source package in Xenial:
Triaged
Status in gnome-software source package in Yakkety:
Fix Committed
Bug description:
$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
$ apt-cache policy gnome-software
gnome-software:
Instalados: 3.20.1~git20160331.78d1aab-0ubuntu2
Candidato: 3.20.1~git20160331.78d1aab-0ubuntu2
Tabla de versión:
*** 3.20.1~git20160331.78d1aab-0ubuntu2 500
500 http://co.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
Steps to reproduce:
1. Open gnome-software. Search for any non-installed program.
2. Click on "Install"
3. On authenticate window, don't enter a password. Simply Cancel.
Expected result:
A message showing the authentication was refused, or the application couldn't
be installed
Current result:
A notification "ProgramX has been installed"
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-software
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Apr 11 10:38:08 2016
InstallationDate: Installed on 2016-03-27 (14 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1568935/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp