Bug 1735700

Summary: keyboard.js: JS error this._rect is undefined
Product: Red Hat Enterprise Linux 7 Reporter: Deepu K S <dkochuka>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: 7.6CC: dbasant, dkochuka, jadahl, mboisver, mclasen, tpelka, vikpatil, vpakolu
Target Milestone: rc   
Target Release: 7.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-3.28.3-27.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 20:21:49 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 Deepu K S 2019-08-01 09:53:06 UTC
Description of problem:
Maximize/Minimize window by double-clicking gives a JS ERROR in system logs.

Jul 31 16:01:07 example.redhat.com gnome-shell[25096]: JS ERROR: Exception in callback for signal: position-changed: TypeError: this._rect is undefined

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 7.6
gnome-shell-3.28.3-8.el7_6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open gnome-terminal
2. Double-click on titlebar to maximize.
3. # journalctl --this-boot

Actual results:
Jul 31 16:01:07 vm251-241.gsslab.pnq2.redhat.com gnome-shell[25096]: JS ERROR: Exception in callback for signal: position-changed: TypeError: this._rect is undefined
                                                                     getCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:553:22
                                                                     wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                                     _onFocusPositionChanged@resource:///org/gnome/shell/ui/keyboard.js:635:20
                                                                     wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                                     _emit@resource:///org/gnome/gjs/modules/signals.js:128:27
                                                                     _setCurrentWindow/this._currentWindowPositionId<@resource:///org/gnome/shell/ui/keyboard.js:534:21

Expected results:
No JS Errors.

Additional info:
Upstream BZ : https://gitlab.gnome.org/GNOME/gnome-shell/issues/464

Comment 7 Michael Boisvert 2020-06-03 14:41:29 UTC
I was able to reproduce the error on gnome-shell-3.28.3-25.el7 and on gnome-shell-3.28.3-27.el7 the error in the journal was no longer present after a reboot.

Comment 12 errata-xmlrpc 2020-09-29 20:21:49 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 (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