Created attachment 6829 screenshot See attachement ... OS: Xubuntu 16.04.1 LTS. GTK: the result of `dpkg -l libgtk2.0-0 libgtk-3-0`: ii libgtk-3-0:amd64 3.18.9-1ubuntu3.1 amd64 ii libgtk2.0-0:amd64 2.24.30-1ubuntu1 amd64
Hi, could you please post some instructions as to how to reproduce that? Thanks!
(In reply to Simon Steinbeiss from comment #1) > Hi, could you please post some instructions as to how to reproduce that? > Thanks! Oh, I spend some time to understand how I get the notification :) How I understood, the notification displays when I install some software via *Software 3.20.1* program and self Software program is closed ... So, I have done the steps to reproduce the notification: 1) > sudo apt purge gparted 2) go to the Software programm 3) type "gparted" in the search field 4) click "Install" button and *close* Software program 5) when GParted will be installed the notification is shown I suppose this is not only true for GParted.
Created attachment 6830 screenshot 2
Alright, I can confirm the bug now. I'm wondering whether this is something that gnome-software is messing up or whether it's notifyd. I'll investigate.
Very strange, but it indeed seems like Gnome Software sends a notification with two actions, one is "default" (and has no label) and the other one is for launching the application. I guess a valid workaround would be to not display buttons without labels as that can be presumed to be buggy and because the user can never know what they would do.
FWIW this should already be happening as there is a check whether the label or action-id are empty, for some reason it's not working in this case. https://git.xfce.org/apps/xfce4-notifyd/tree/xfce4-notifyd/xfce-notify-window.c#n928
This has been fixed in git master and will be part of the next stable release (0.3.3). https://git.xfce.org/apps/xfce4-notifyd/commit/?id=b59320b7c37ce44399b6d2fcc0672805b27e9a24
This is a potential candidate for backporting or including as a patch for the 0.2 series.