Bug 1047594 - ABRT appears twice in gnome-control-center Notifications panel
Summary: ABRT appears twice in gnome-control-center Notifications panel
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 20
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1104770 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-01 01:38 UTC by Michael Catanzaro
Modified: 2016-12-01 00:46 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 14:00:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot of issue (41.11 KB, image/png)
2014-01-01 01:38 UTC, Michael Catanzaro
no flags Details

Description Michael Catanzaro 2014-01-01 01:38:48 UTC
Created attachment 844029 [details]
screenshot of issue

Description of problem: ABRT is listed twice in the Notifications panel in gnome-control-center.


Version-Release number of selected component (if applicable): gnome-abrt-0.3.4-1.fc20

Comment 1 Jakub Filak 2014-01-03 14:56:53 UTC
What version of control-center do you have? I see only one ABRT icon in the Notifications panel in gnome-control-center-3.10.2-3.fc20.x86_64


ABRT ships only two desktop files:
/usr/share/applications/abrt-applet.desktop
/usr/share/applications/gnome-abrt.desktop

Only the first file contains X-GNOME-UsesNotifications entry. The second desktop files does not use notification, therefore it doesn't contain the notification entry and should not be listed in the Notification panel.

Comment 2 Jakub Filak 2014-01-03 14:58:33 UTC
(In reply to Jakub Filak from comment #1)
s/gnome-control-center/control-center/

Comment 3 Michael Catanzaro 2014-01-03 19:43:23 UTC
control-center-3.10.2-3.fc20
abrt-gui-2.1.10-1.fc20
gnome-abrt-0.3.4-1.fc20

In dconf-editor, I reset the application-children key in org.gnome.desktop.notifications, and now I am back to just one entry for both.

(In reply to Jakub Filak from comment #1)
> ABRT ships only two desktop files:
> /usr/share/applications/abrt-applet.desktop
> /usr/share/applications/gnome-abrt.desktop
> 
> Only the first file contains X-GNOME-UsesNotifications entry. The second
> desktop files does not use notification, therefore it doesn't contain the
> notification entry and should not be listed in the Notification panel.

All that is true on my machine, yet I still had one entry for abrt-applet.desktop, and a spurious one for gnome-abrt.desktop. (And this was a fresh install of Fedora 20 about two weeks ago.) I half expect it to reappear after the next time something crashes... will let you know if so.

Comment 4 javiertury 2014-01-13 18:12:37 UTC
I have these packages:

control-center-3.10.2-3.fc20
abrt-gui-2.1.11-1.fc20
gnome-abrt-0.3.4-1.fc20

And I can confirm the bug.

Comment 5 Jakub Filak 2014-06-09 12:57:30 UTC
*** Bug 1104770 has been marked as a duplicate of this bug. ***

Comment 6 Michael Catanzaro 2014-07-14 01:56:02 UTC
[1] looks possibly related, but I haven't checked to see if it fixes this.

[1] https://git.gnome.org/browse/gnome-control-center/commit/?id=ea66f828eb8207fb8741decd68bb9851e73d55d2

Comment 7 Jakub Filak 2014-11-11 09:31:18 UTC
Is this issue still reproducible?

Comment 8 Michael Catanzaro 2014-11-11 16:04:35 UTC
No, because with gnome-abrt-0.3.7-3.fc20, ABRT no longer appears *at all* in the notifications panel. That's not good.

Comment 9 Jakub Filak 2014-11-11 16:38:47 UTC
(In reply to Michael Catanzaro from comment #8)
> No, because with gnome-abrt-0.3.7-3.fc20, ABRT no longer appears *at all* in
> the notifications panel. That's not good.

Do you have abrt-gui package installed?
Does /usr/share/applications/abrt-applet.desktop file exist?
Does that file contain "X-GNOME-UsesNotifications" key?
Have you seen any ABRT notification recently?

According to [1] we have to set libnotify notification's 'desktop-entry' hint to basename of the desktop file and we do that [2]. Is there any else condition we need to satisfy?


1: http://comments.gmane.org/gmane.comp.gnome.desktop/48217
2: https://github.com/abrt/abrt/blob/master/src/applet/applet.c#L804

Comment 10 Jakub Filak 2014-11-11 16:48:42 UTC
I don't know how but it happened ... I see two ABRT icons in gnome-control-center Notifications panel on my F21 box.

Comment 11 Michael Catanzaro 2014-11-11 18:39:41 UTC
(In reply to Jakub Filak from comment #9) 
> Do you have abrt-gui package installed?

No.

> Does /usr/share/applications/abrt-applet.desktop file exist?

No. I do have gnome-abrt.desktop, which does not contain X-GNOME-UsesNotifications.

> Have you seen any ABRT notification recently?

I think so, but I'm not completely sure.

> According to [1] we have to set libnotify notification's 'desktop-entry'
> hint to basename of the desktop file and we do that [2]. Is there any else
> condition we need to satisfy?

I don't think so.

Comment 12 Jakub Filak 2014-11-12 08:26:13 UTC
(In reply to Michael Catanzaro from comment #11)
> (In reply to Jakub Filak from comment #9) 
> > Do you have abrt-gui package installed?
> 
> No.
> 
> > Does /usr/share/applications/abrt-applet.desktop file exist?
> 
> No. I do have gnome-abrt.desktop, which does not contain
> X-GNOME-UsesNotifications.

Because gnome-abrt does not use notifications. gnome-abrt is just a utility for viewing problems and nothing more.

> 
> > Have you seen any ABRT notification recently?
> 
> I think so, but I'm not completely sure.

If you don't have abrt-gui package installed and /usr/share/applications/abrt-applet.desktop file does not exist, you should not see any ABRT notification because there is no program displaying those notifications.

Only /usr/bin/abrt-applet binary shipped in abrt-gui package provides that functionality.

> 
> > According to [1] we have to set libnotify notification's 'desktop-entry'
> > hint to basename of the desktop file and we do that [2]. Is there any else
> > condition we need to satisfy?
> 
> I don't think so.

Thank you for the answers!

I am going to figure out why I have two ABRT icons in the gnome-control-center Notifications panel.

The reason why ABRT is not listed in your gnome-control-center Notifications panel is probably that you don't have abrt-gui package installed. Is your Fedora setup a custom setup or did I screw up something somewhere more than usually?

Comment 13 Michael Catanzaro 2014-11-12 16:55:07 UTC
It's most likely not your fault: I think I uninstalled and reinstalled ABRT at some point in the past, and I guess abrt-gui didn't get pulled in. It would probably be a good idea for gnome-abrt to bring in abrt-gui with a Recommends, once weak dependencies are approved for use in Fedora.

Installing abrt-gui causes ABRT to appear in the notifications panel again.

Comment 14 Fedora End Of Life 2015-05-29 10:16:07 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2015-06-29 14:00:26 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.