Bug 1904371

Summary: Desktop refresh broken after unlock [rhel-7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Johannes Scheiber <jscheibe>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.9CC: jadahl, jreznik, mboisver, pjasbuti, sbarcomb, tpelka, tpopela
Target Milestone: rcKeywords: OtherQA, Triaged, ZStream
Target Release: ---Flags: tpopela: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-extensions-3.28.1-16.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-27 11:31:59 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:
Attachments:
Description Flags
showing screen after unlock password is entered and menus clicked none

Description Johannes Scheiber 2020-12-04 09:00:45 UTC
Created attachment 1736371 [details]
showing screen after unlock password is entered and menus clicked

Description of problem:
  - once password is entered into lock screen, the menu bar appears, but the lock screen image persists
  - when clicking menu items after this, the sub menus do not disappear if the mouse is moved out of them and they persist (see screenshots)

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


How reproducible:
  - OS:     RHEL 7.9
  - kernel: 3.10.0-1160.2.2.el7.x86_64
  - window manager: X11
  - gnome-shell: 3.28.3-30.el7.x86_64 ( gnome classic!)
  - mutter: 3.28.3-26.el7.x86_64


Steps to Reproduce:
  1. start with a clean desktop
  2. start a terminal and running "top"
  3. Press WINDOWS key, so the "Windows Picker" is active.
  4. Wait for the screensaver (you can set the interval to 1 minutes so you do not have to wait for too long)
  5. The screen fades away (wait a bit more until complete blank, e.g. 30 seconds); when you interrupt to early the lock screen it not yet active
     and you go straight to desktop
  6. When it is completely black, click the mouse or hit some key
  7. the lock screen appears
  8. press ESC (or push upwards with mouse)
    (Note again: I disabled password; but according to user report the problem also triggers when you enter password)
  9. Problem reproduces: half-login; animation caught half-way, top-bar half-working
 10. Try Alt-F2 r: then normal desktop will appear (but it does not show the window picker; else it would have been to easy...)

Actual results:
  - password screen persists
  - menu windows overlap and perssist

Expected results:
  - password screen vanishes
  - regular background appeares
  - menu and submenu only persist as long as the mouse is hovering on it

Additional info:

Comment 2 Johannes Scheiber 2020-12-08 12:30:56 UTC
According to tests, the affected versions are:
  - 7.8
  - 7.9

The issue could NOT be reproduced on 
  - 7.7

Also it was found out that the issue can be reproduced using X11 and Wayland.

On Wayland the workaround is not applicable

Comment 3 Jonas Ådahl 2020-12-09 09:39:37 UTC
This seems to be an issue with one of the extensions used in the Classic session, as it reproduces using the steps above there, but not in the (non-default) "regular" session. Between 7.7 and 7.8 the classic session saw a few improvements, so it's likely to be a regression caused by one of those changes.

Comment 6 Florian Müllner 2021-01-26 20:29:26 UTC
I did a tentative fix in https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=34531849.

Comment 9 Phil Jasbutis 2021-03-05 12:58:17 UTC
Tested the tentative fix from Florian and it solves the issue:

### setup

[root@rhel7-sc-test ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 7.9 (Maipo)

[root@rhel7-sc-test ~]# uname -r
3.10.0-1160.6.1.el7.x86_64

[root@rhel7-sc-test ~]# rpm -qi | grep "^gnome"
gnome-online-accounts-3.28.2-1.el7.x86_64
gnome-boxes-3.28.5-4.el7.x86_64
gnome-packagekit-installer-3.28.0-1.el7.x86_64
gnome-contacts-3.28.2-1.el7.x86_64
gnome-keyring-pam-3.28.2-1.el7.x86_64
gnome-shell-extension-apps-menu-3.28.1-14.el7.noarch
gnome-themes-standard-3.28-2.el7.x86_64
gnome-vfs2-2.24.4-14.el7.x86_64
gnome-color-manager-3.28.0-1.el7.x86_64
gnome-video-effects-0.4.3-1.el7.noarch
gnome-shell-extension-places-menu-3.28.1-14.el7.noarch
gnome-python2-bonobo-2.28.1-14.el7.x86_64
gnome-session-xsession-3.28.1-8.el7.x86_64
gnome-system-monitor-3.28.2-1.el7.x86_64
gnome-menus-3.13.3-3.el7.x86_64
gnome-getting-started-docs-3.28.2-1.el7.noarch
gnome-icon-theme-symbolic-3.12.0-2.el7.noarch
gnome-shell-extension-user-theme-3.28.1-14.el7.noarch
gnome-python2-gnome-2.28.1-14.el7.x86_64
gnome-classic-session-3.28.1-14.el7.noarch
gnome-packagekit-common-3.28.0-1.el7.x86_64
gnome-abrt-0.3.4-9.el7.x86_64
gnome-tweak-tool-3.28.1-7.el7.noarch
gnome-packagekit-updater-3.28.0-1.el7.x86_64
gnome-clocks-3.28.0-1.el7.x86_64
gnome-packagekit-3.28.0-1.el7.x86_64
gnome-terminal-3.28.2-3.el7.x86_64
gnome-screenshot-3.26.0-1.el7.x86_64
gnome-system-log-3.9.90-3.el7.x86_64
gnome-python2-2.28.1-14.el7.x86_64
gnome-python2-canvas-2.28.1-14.el7.x86_64
gnome-icon-theme-extras-3.12.0-1.el7.noarch
gnome-shell-extension-common-3.28.1-14.el7.noarch
gnome-shell-extension-window-list-3.28.1-14.el7.noarch
gnome-shell-extension-alternate-tab-3.28.1-14.el7.noarch
gnome-python2-gnomevfs-2.28.1-14.el7.x86_64
gnome-user-docs-3.28.2-1.el7.noarch
gnome-bluetooth-libs-3.28.2-1.el7.x86_64
gnome-initial-setup-3.28.0-2.el7.x86_64
gnome-font-viewer-3.28.0-1.el7.x86_64
gnome-terminal-nautilus-3.28.2-3.el7.x86_64
gnome-bluetooth-3.28.2-1.el7.x86_64
gnome-settings-daemon-3.28.1-8.el7.x86_64
gnome-shell-extension-launch-new-instance-3.28.1-14.el7.noarch
gnome-icon-theme-3.12.0-1.el7.noarch
gnome-disk-utility-3.28.3-1.el7.x86_64
gnome-keyring-3.28.2-1.el7.x86_64
gnome-weather-3.26.0-1.el7.noarch
gnome-session-3.28.1-8.el7.x86_64
gnome-shell-extension-top-icons-3.28.1-14.el7.noarch
gnome-software-3.28.2-3.el7.x86_64
gnome-calculator-3.28.2-1.el7.x86_64
gnome-dictionary-3.26.1-2.el7.x86_64
gnome-desktop3-3.28.2-2.el7.x86_64
gnome-shell-3.28.3-32.el7.x86_64
gnome-shell-extension-horizontal-workspaces-3.28.1-14.el7.noarch


### testing setup _WITHOUT_ fix applied

==> Issue is reproducible like in BZ description.


### install tentative fix

[root@rhel7-sc-test ~]# rpm -Uhv gnome-*.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:gnome-shell-extension-common-3.28################################# [  3%]
   2:gnome-shell-extension-alternate-t################################# [  6%]
   3:gnome-shell-extension-apps-menu-3################################# [  9%]
   4:gnome-shell-extension-horizontal-################################# [ 12%]
   5:gnome-shell-extension-launch-new-################################# [ 15%]
   6:gnome-shell-extension-places-menu################################# [ 18%]
   7:gnome-shell-extension-top-icons-3################################# [ 21%]
   8:gnome-shell-extension-window-list################################# [ 24%]
   9:gnome-classic-session-3.28.1-16.e################################# [ 26%]
  10:gnome-shell-extension-auto-move-w################################# [ 29%]
  11:gnome-shell-extension-dash-to-doc################################# [ 32%]
  12:gnome-shell-extension-disable-scr################################# [ 35%]
  13:gnome-shell-extension-drive-menu-################################# [ 38%]
  14:gnome-shell-extension-extra-osk-k################################# [ 41%]
  15:gnome-shell-extension-native-wind################################# [ 44%]
  16:gnome-shell-extension-no-hot-corn################################# [ 47%]
  17:gnome-shell-extension-panel-favor################################# [ 50%]
  18:gnome-shell-extension-screenshot-################################# [ 53%]
  19:gnome-shell-extension-systemMonit################################# [ 56%]
  20:gnome-shell-extension-updates-dia################################# [ 59%]
  21:gnome-shell-extension-user-theme-################################# [ 62%]
  22:gnome-shell-extension-window-grou################################# [ 65%]
  23:gnome-shell-extension-windowsNavi################################# [ 68%]
  24:gnome-shell-extension-workspace-i################################# [ 71%]
Cleaning up / removing...
  25:gnome-classic-session-3.28.1-14.e################################# [ 74%]
  26:gnome-shell-extension-alternate-t################################# [ 76%]
  27:gnome-shell-extension-apps-menu-3################################# [ 79%]
  28:gnome-shell-extension-horizontal-################################# [ 82%]
  29:gnome-shell-extension-launch-new-################################# [ 85%]
  30:gnome-shell-extension-places-menu################################# [ 88%]
  31:gnome-shell-extension-top-icons-3################################# [ 91%]
  32:gnome-shell-extension-window-list################################# [ 94%]
  33:gnome-shell-extension-user-theme-################################# [ 97%]
  34:gnome-shell-extension-common-3.28################################# [100%]

[root@rhel7-sc-test ~]# reboot


### performed testing with fix packages

==> Issue is _NOT_ reproducible anymore -> actual behavior == expected behavior

Comment 13 Michael Boisvert 2021-03-18 19:14:00 UTC
I was able to easily reproduce the bug using the instructions in the summary. Upon installing gnome-shell-extensions-3.28.1-16.el7_9, the bug is no longer present and the user experience is greatly improved.

Comment 19 errata-xmlrpc 2021-04-27 11:31:59 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 (control-center bug fix 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-2021:1387