Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1897932

Summary: JS ERROR: Error: Extension point conflict: there is already a status indicator for role ...
Product: Red Hat Enterprise Linux 8 Reporter: Luis <lou_bridges>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Martin Krajnak <mkrajnak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.2CC: jadahl, mkrajnak
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-extensions-3.32.1-19.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1967259 (view as bug list) Environment:
Last Closed: 2021-11-09 19:33:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1967259    

Description Luis 2020-11-15 17:05:01 UTC
Description of problem:
The following error message is registered in the /var/log/messages when my application tries to add an icon into the systray for the 2nd time:

JS ERROR: Error: Extension point conflict: there is already a status indicator for role xxxx-yyyyyyyy#012addToStatusArea@resource:///org/gnome/shell/ui/panel.js:1164:19#012_onTrayIconAdded@/usr/share/gnome-shell/extensions/top-icons.github.com/extension.js:67:9
Version-Release number of selected component (if applicable):
8.

This happens with the top-icons extension provided by gnome-shell-extension-top-icons-3.32.1-10.el8.noarch.

How reproducible:
I need to run two instances of the same app simultaneously. 
Each app instance is launched with their own parameters (configuration directory, etc,).
The 1st app instance successfully registers/adds the icon into the systray.
But the 2nd app instance fails to register/add the icon with the error message stated above.

Steps to Reproduce:
1.Launch the 1st app instance.
2.Launch the 2nd app instance.

Actual results:
1. The 1st app instance icon is shown in the systray.
2. The 2nd app instance icon is NOT shown in the systray.

Expected results:
Both app instances should successfully register/add the icon into the systray.

Additional info:
The same app works fine on RHEL 7.x (the only one I've not tested was 7.9).

And it works fine on RHEL 8.2 as well if I use any of the following two gnome extensions instead of the system default top-icons extension provided by gnome-shell-extension-top-icons-3.32.1-10.el8.noarch:

https://extensions.gnome.org/extension/1674/topiconsfix/
https://extensions.gnome.org/extension/1031/topicons/

Comment 1 Florian Müllner 2021-06-01 15:14:56 UTC
Should be pretty straight-forward to fix.

Comment 2 Martin Krajnak 2021-06-04 12:06:23 UTC
Thanks for fix Florian, I tested on Hexchat, 

I ran two instances of hexchat:

before the update I could see only 1 icon,
after the update I could see 2 icons, even 3 instances and 3 icons,  

gnome-shell-extension-top-icons-3.32.1-19.el8.noarch.rpm

Comment 7 errata-xmlrpc 2021-11-09 19:33:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4381