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 1971507

Summary: gnome-shell JS ERROR Error calling onComplete: TypeError this._dialog.actor is undefined _hideLockScreenComplete updateTweens
Product: Red Hat Enterprise Linux 8 Reporter: Yaniv Ferszt <yferszt>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: jadahl, modehnal, sbarcomb
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-3.32.2-33.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:34:38 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 Yaniv Ferszt 2021-06-14 08:09:53 UTC
Description of problem:

On a fresh installed RHEL 8.4 system we see the following messages in the log:
------------------------------
Jun 14 07:37:48 02531440.lab.example.com gnome-shell[1404]: JS WARNING: [resource:///org/gnome/shell/ui/screenShield.js 920]: reference to u>
Jun 14 07:37:48 02531440.lab.example.com gnome-shell[1404]: JS ERROR: Error calling onComplete: TypeError: this._dialog.actor is undefined
                                                            _hideLockScreenComplete@resource:///org/gnome/shell/ui/screenShield.js:920:13
                                                            _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                                            _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                                            _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                                            _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                                            _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                            _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                                            ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
------------------------------


Version-Release number of selected component (if applicable):
[root@02531440 ~]# rpm -qa | grep gnome-shell
gnome-shell-extension-window-list-3.32.1-14.el8.noarch
gnome-shell-extension-apps-menu-3.32.1-14.el8.noarch
gnome-shell-extension-horizontal-workspaces-3.32.1-14.el8.noarch
gnome-shell-3.32.2-30.el8.x86_64
gnome-shell-extension-desktop-icons-3.32.1-14.el8.noarch
gnome-shell-extension-common-3.32.1-14.el8.noarch
gnome-shell-extension-launch-new-instance-3.32.1-14.el8.noarch
gnome-shell-extension-places-menu-3.32.1-14.el8.noarch


Steps to Reproduce:
1) Fresh installed RHEL 8.4 with GUI.
2) Booting the system and leaving the system unattended for some minutes leads to the screen saver getting activated. 
3) As soon as you drag your mouse from bottom to the top to remove the screen saver, the following two messages are printed to the syslog.

Actual results:
the following two messages are printed to the syslog.
------------------------------
Jun 14 07:37:48 02531440.lab.example.com gnome-shell[1404]: JS WARNING: [resource:///org/gnome/shell/ui/screenShield.js 920]: reference to u>
Jun 14 07:37:48 02531440.lab.example.com gnome-shell[1404]: JS ERROR: Error calling onComplete: TypeError: this._dialog.actor is undefined
                                                            _hideLockScreenComplete@resource:///org/gnome/shell/ui/screenShield.js:920:13
                                                            _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                                            _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                                            _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                                            _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                                            _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                            _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                                            ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
------------------------------

Expected results:
No gnome-shell JS WARNING or ERROR should be printed.

Additional info:

Comment 2 Michal Odehnal 2021-06-14 10:13:58 UTC
I was unable to get the same result on fresh 8.4 but I got:

Jun 14 12:06:53 localhost.localdomain gnome-shell[1331]: Could not delete runtime/persistent state file: Error removing file /run/user/1000/gnome-shell/runtime-state-LE.:0/screenShield.locked: No such file or directory

Might be related.

I have the same versions:
[test@localhost ~]$ rpm -qa | grep gnome-shell
gnome-shell-extension-window-list-3.32.1-14.el8.noarch
gnome-shell-extension-apps-menu-3.32.1-14.el8.noarch
gnome-shell-extension-common-3.32.1-14.el8.noarch
gnome-shell-extension-launch-new-instance-3.32.1-14.el8.noarch
gnome-shell-3.32.2-30.el8.x86_64
gnome-shell-extension-horizontal-workspaces-3.32.1-14.el8.noarch
gnome-shell-extension-desktop-icons-3.32.1-14.el8.n
gnome-shell-extension-places-menu-3.32.1-14.el8.noarch

Comment 11 Michal Odehnal 2021-06-15 10:34:59 UTC
Yaniv can you please verify that the new version no longer produces the warnings you are seeing? The automation tests for new version are running once I have the results and your confirmation I will make a switch to Verified:Tested

Comment 15 Michal Odehnal 2021-06-15 15:29:35 UTC
I have run automation tests for gnome-shell with gnome-shell-3.32.2-33.el8.x86_64 with a full pass as a result. And we have a confirmation from reporter. Making a switch to Verified:Tested

Comment 20 errata-xmlrpc 2021-11-09 19:34:38 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