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 - JS ERROR: Error: Extension point conflict: there is already a status indicator for role ...
Summary: JS ERROR: Error: Extension point conflict: there is already a status indicato...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gnome-shell-extensions
Version: 8.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Florian Müllner
QA Contact: Martin Krajnak
URL:
Whiteboard:
Depends On:
Blocks: 1967259
TreeView+ depends on / blocked
 
Reported: 2020-11-15 17:05 UTC by Luis
Modified: 2021-11-10 07:22 UTC (History)
2 users (show)

Fixed In Version: gnome-shell-extensions-3.32.1-19.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1967259 (view as bug list)
Environment:
Last Closed: 2021-11-09 19:33:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4381 0 None None None 2021-11-09 19:34:10 UTC

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


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