Bug 1845660

Summary: JS WARNING from gnome-shell [MetaWindowX11]
Product: Red Hat Enterprise Linux 8 Reporter: Carlos Santos <casantos>
Component: gjsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michael Boisvert <mboisver>
Severity: medium Docs Contact:
Priority: high    
Version: ---CC: fmuellner, jadahl, mboisver, ofalk, tpelka, yzheng
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: 8.4   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gjs-1.56.2-5.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:38:17 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:

Description Carlos Santos 2020-06-09 18:42:47 UTC
Description of problem:

This is a follow-up to bug 1751121.

After booting a fresh installed and upgraded RHEL-7.8 with "Server with GUI"
installation the following messages are seen in the system journal:

Jun 09 14:25:52 rhel-7-4.example.com gnome-shell[4331]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property "MetaWindowX11"
Jun 09 14:27:26 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/keyboard.js 553]: reference to undefined property "_rect"
Jun 09 14:29:40 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/endSessionDialog.js 763]: reference to undefined property "checkBoxText"
Jun 09 14:37:48 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 717]: reference to undefined property "_delegate"


Version-Release number of selected component (if applicable):

# rpm -q gnome-shell mutter gjs
gnome-shell-3.28.3-24.el7.x86_64
mutter-3.28.3-22.el7_8.x86_64
gjs-1.52.5-1.el7_6.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Install RHEL-7.8 from DVD choosing "Server with GUI" installation.
2. Register the system and perform a full update
3. Log in/out as an ordinary user. Use the workspace switcher. Wait for the
   screen saver/session lock.

Actual results:

[root@rhel-7-4 ~]# journalctl --boot | grep 'JS WARNING'
Jun 09 14:25:52 rhel-7-4.example.com gnome-shell[4331]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property "MetaWindowX11"
Jun 09 14:27:26 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/keyboard.js 553]: reference to undefined property "_rect"
Jun 09 14:29:40 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/endSessionDialog.js 763]: reference to undefined property "checkBoxText"
Jun 09 14:37:48 rhel-7-4.example.com gnome-shell[4755]: JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 717]: reference to undefined property "_delegate"

Expected results:

No "JS WARNING" message should appear.

Additional info:

There is no visible impact of the warning messages, but a customer has the
requirement to not have any reoccurring error messages in the logs.

Comment 2 Florian Müllner 2020-06-14 13:58:25 UTC
(In reply to Carlos Santos from comment #0)
> Description of problem:
> 
> This is a follow-up to bug 1751121.
> 
> After booting a fresh installed and upgraded RHEL-7.8 with "Server with GUI"
> installation the following messages are seen in the system journal:
> 
> Jun 09 14:25:52 rhel-7-4.example.com gnome-shell[4331]: JS WARNING:
> [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined
> property "MetaWindowX11"

As explained in #1751121, this needs to be fixed in mutter or (preferrably) gjs.


> Jun 09 14:27:26 rhel-7-4.example.com gnome-shell[4755]: JS WARNING:
> [resource:///org/gnome/shell/ui/keyboard.js 553]: reference to undefined
> property "_rect"

This was fixed in #1735700


> Jun 09 14:29:40 rhel-7-4.example.com gnome-shell[4755]: JS WARNING:
> [resource:///org/gnome/shell/ui/endSessionDialog.js 763]: reference to
> undefined property "checkBoxText"
> Jun 09 14:37:48 rhel-7-4.example.com gnome-shell[4755]: JS WARNING:
> [resource:///org/gnome/shell/ui/popupMenu.js 717]: reference to undefined
> property "_delegate"

Those are addressed in #1751121.

*** This bug has been marked as a duplicate of bug 1751121 ***

Comment 3 Michael Boisvert 2020-06-25 18:58:00 UTC
As per https://bugzilla.redhat.com/show_bug.cgi?id=1751121#c24, I am reopening this bug to focus just on the JS warning in regards to "MetaWindowX11." Hence the component change.

Comment 8 Chris Williams 2020-11-11 21:39:24 UTC
Red Hat Enterprise Linux 7 shipped it's final minor release on September 29th, 2020. 7.9 was the last minor releases scheduled for RHEL 7.
From intial triage it does not appear the remaining Bugzillas meet the inclusion criteria for Maintenance Phase 2 and will now be closed. 

From the RHEL life cycle page:
https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase
"During Maintenance Support 2 Phase for Red Hat Enterprise Linux version 7,Red Hat defined Critical and Important impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available."

If this BZ was closed in error and meets the above criteria please re-open it flag for 7.9.z, provide suitable business and technical justifications, and follow the process for Accelerated Fixes:
https://source.redhat.com/groups/public/pnt-cxno/pnt_customer_experience_and_operations_wiki/support_delivery_accelerated_fix_release_handbook  

Feature Requests can re-opened and moved to RHEL 8 if the desired functionality is not already present in the product. 

Please reach out to the applicable Product Experience Engineer[0] if you have any questions or concerns.  

[0] https://bugzilla.redhat.com/page.cgi?id=agile_component_mapping.html&product=Red+Hat+Enterprise+Linux+7

Comment 15 Michael Boisvert 2021-01-05 21:13:40 UTC
Using gjs-1.56.2-5.el8, I no longer see the "MetaWindowX11" error in the journal.

Comment 17 errata-xmlrpc 2021-05-18 14:38:17 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:1586