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 2149670

Summary: When the GUI session is locked while context-menu of a desktop icon menu has focus, session can't be unlocked
Product: Red Hat Enterprise Linux 8 Reporter: Phil Jasbutis <pjasbuti>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michael Boisvert <mboisver>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.7CC: amike, jadahl, tpelka
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-extensions-3.32.1-30.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:37:43 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 Phil Jasbutis 2022-11-30 14:50:29 UTC
Description of problem:

When screen-lock activates while a user has the context menu (right-click menu) of home or trash
icon on desktop open, it's impossible to unlock the screen afterwards because password prompt is
not accessible.


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

  gnome-shell-extension-desktop-icons-3.32.1-29.el8.noarch
  gnome-tweaks-3.28.1-7.el8.noarch
  gnome-session-3.28.1-14.el8.x86_64
  gnome-shell-3.32.2-48.el8.x86_64


Steps to Reproduce:

  Freshly installed RHEL 8.7 with GUI "Workstation":

  1. Set the Screensaver to 1 Minute: Settings -> Power -> Power Saving -> Black Screen -> 1 Minute
  2. Activate the desktop icons extension: Tweaks -> Extensions -> Desktop Icons -> On
  3. Right-click on HOME or Trash Icon on the desktop (context menu pops up)
  4. Let the menu stay open until screen-lock engages
  5. Try to unlock the screen

Actual results:

  - Screen shows the time and date but does not give access to the password prompt.

Expected results:

  - Password prompt should show up to unlock the screen.


Additional info:

  When trying to get to the password prompt, following message appears in /var/log/messages:

  Nov 30 14:27:16 rh8-01 journal[5116]: JS ERROR: TypeError: this._grabStack[i] is undefined#012onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:313:27#012_onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:12:12

Comment 2 Florian Müllner 2022-12-02 15:24:20 UTC
This took a while to debug, but I have a working patch now.

Comment 3 Michael Boisvert 2022-12-12 19:37:02 UTC
gnome-shell-extensions-3.32.1-30.el8 fixed the issue outlined in the bug report: right clicking on a desktop icon, allowing the screen to blank on its own then trying to log back in works as expected and the password prompt is immediately visible.

Comment 6 Michael Boisvert 2022-12-12 19:46:50 UTC
*** Bug 2075232 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2023-05-16 08:37:43 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-shell-extensions 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-2023:2840