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.
Description of problem:
* Various JS WARNING from gnome-shell
on all RHEL 7.5 and 7.6 systems I see the JS warnings from gnome-shell after every boot.
8<----------8<----------8<----------
# journalctl -b | grep "JS WARNING"
Aug 09 10:10:06 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Aug 09 10:10:06 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Aug 09 10:10:06 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Aug 09 10:10:07 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property "MetaWindowX11"
Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/gdm/realmd.js 130]: reference to undefined property "_loginFormat"
Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING: [resource:///org/gnome/shell/gdm/realmd.js 142]: reference to undefined property "_loginFormat"
8<----------8<----------8<----------
Version-Release number of selected component (if applicable):
[yf@cb-rhel7 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[yf@cb-rhel7 ~]$ rpm -qa | grep gnome-shell
gnome-shell-3.28.3-6.el7.x86_64
How reproducible:
1) Installed OS with GUI from the RHEL 7.6 ISO
Actual results:
1) Open a terminal
2)
[yf@cb-rhel7 ~]$ journalctl -b | grep "JS WARNING"
Sep 11 09:35:07 cb-rhel7.6 gnome-shell[4157]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property "MetaWindowX11"
Sep 11 09:47:15 cb-rhel7.6 gnome-shell[4959]: JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 717]: reference to undefined property "_delegate"
Expected results:
No "JS WARNING" in "journalctl -b | grep "JS WARNING""
(In reply to Yaniv Ferszt from comment #3)
> [yf@cb-rhel7 ~]$ journalctl -b | grep "JS WARNING"
> Sep 11 11:40:13 cb-rhel7.6 gnome-shell[1924]: JS WARNING:
> [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined
> property "MetaWindowX11"
This cannot be fixed in gnome-shell.
The issue is that only the "MetaWindow" type is introspected and public, but none of the subtypes that are actually used by windows ("MetaWindowX11", "MetaWindowWayland", "MetaWindowXwayland").
Either mutter needs to expose those types to introspection, or gjs needs changing to avoid the warning.
> Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING:
> [resource:///org/gnome/shell/gdm/realmd.js 130]: reference to undefined
> property "_loginFormat"
> Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING:
> [resource:///org/gnome/shell/gdm/realmd.js 142]: reference to undefined
> property "_loginFormat"
gnome-shell-3.28.3-28.el7 fixes those and all "regular" JS warnings that were mentioned in the bugs marked as duplicates.
However as mentioned earlier, the type of warnings that are triggered by encountering a non-introspected subtype like this one:
> Aug 09 10:10:08 HOSTNAME gnome-shell[1907]: JS WARNING:
> [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined
> property "MetaWindowX11"
cannot be addressed in gnome-shell. Some of those warnings that are mentioned in the subject were addressed in https://gitlab.gnome.org/GNOME/mutter/commit/7655e09d004ec1, but others are still present; mostly because making the types public requires code churn that's not proportional to the minor benefit (avoid a harmless warning).
Ideally gjs should be fixed to not trigger those warnings, as keeping subtypes private and expecting any manipulation to be done through API on the public parent type is perfectly legitimate.
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 (GNOME 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/RHBA-2020:3987