Bug 2145185

Summary: Top panel/bar of GDM login prompt and top bar of classification banner overlap each other.
Product: Red Hat Enterprise Linux 9 Reporter: Florian Müllner <fmuellner>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michael Boisvert <mboisver>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.1CC: alanm, amike, brclark, casantos, jadahl, jwright, mboisver, mkielian, mkolbas, rstrode, sbarcomb, tpelka, tpopela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-40.10-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2138941 Environment:
Last Closed: 2023-05-09 07:41:53 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:
Bug Depends On: 2138941    
Bug Blocks:    
Attachments:
Description Flags
top bar with no overlap none

Description Florian Müllner 2022-11-23 12:56:08 UTC
+++ This bug was initially created as a clone of Bug #2138941 +++

Description of problem:
After installing and configuring the classification banner extension, it is observed that the top panel of the GDM login prompt and the classification banner overlaps. This behavior is not observed after logging into a user session.

Version-Release number of selected component (if applicable):
gnome-shell-extension-classification-banner-3.32.1-27.el8.noarch
Red Hat Enterprise Linux 8.6

How reproducible:
I was able to consistently reproduce.

Steps to Reproduce:
1. Configure classification banner per documentation.
2. Restart GDM or restart system.
3. Observe behavior.

Actual results:
Top bar/panel of GDM login prompt overlaps classification banner.

Expected results:
Top bar/panel of GDM login prompt does not overlap classification banner.

--- Additional comment from Florian Müllner on 2022-11-14 11:39:59 UTC ---

The issue is that the extension uses the work area for positioning, but gnome-shell skips setting it for the greeter.

I suspect that that's just an optimization - the main purpose of the work area is to determine the area that can be occupied by windows, and there are no windows on the login screen - and the issue can be addressed in gnome-shell itself. Otherwise I'll have to come up with a work around in the extension.

--- Additional comment from Florian Müllner on 2022-11-21 14:37:34 UTC ---

Done now upstream in https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2546.

Comment 2 Michael Boisvert 2022-11-29 20:23:10 UTC
Created attachment 1928470 [details]
top bar with no overlap

Comment 3 Michael Boisvert 2022-11-29 20:31:07 UTC
Packages:
gnome-shell-40.10-4.el9
gnome-shell-extension-classification-banner-40.7-3.el9.noarch.rpm

There is no longer an overlap or conflict with the top bar of GDM and the classification banner using the above packages. See attached screenshot. I will say the off center "TOP SECRET" due to including the system info, but that's a topic for another bug.

Comment 9 errata-xmlrpc 2023-05-09 07:41:53 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 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:2280