Bug 2153524

Summary: Classification banner shows on top of windows
Product: Red Hat Enterprise Linux 9 Reporter: Florian Müllner <fmuellner>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michael Boisvert <mboisver>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: jadahl, mboisver, rstrode
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-extensions-40.7-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:46:31 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 Florian Müllner 2022-12-14 17:13:51 UTC
This bug was initially created as a copy of Bug #2150107

I am copying this bug because: 



Description of problem: When the classification banner is enabled, it shows on top of windows, preventing input.


Version-Release number of selected component (if applicable):
gnome-shell-extension-classification-banner-3.32.1-29.el8

How reproducible: 100%

Steps to Reproduce:
1. Install the GUI and the classification banner:
# dnf group install "Server with GUI"
# dnf install gnome-shell-extension-classification banner

2. Make the file /etc/dconf/db/local.d/99-banner and populate it with the following:

[org/gnome/shell]
enabled-extensions=['classification-banner.github.com']

[org/gnome/shell/extensions/classification-banner]
background-color='rgba(0,119,51,0.75)'
message='UNCLASSIFIED'
top-banner=true
bottom-banner=true
system-info=false
color='white'

3. Update the dconf database:

# dconf refresh

4. Start the GUI:

# systemctl isolate graphical.target

5. Log in and open the Terminal app.
6. Select View > Fullscreen from the menu.

Actual results: Classification banner draws on top of the terminal, obscuring part of the terminal working area (see attached screenshot).

Expected results: Banner should be places outside of the GUI working area and fullscreen applications should fill the space in between the banners.

Additional info: This also happens on RHEL 9.1 (extension version 40.7-2.el9).

Comment 1 Florian Müllner 2022-12-14 17:18:20 UTC
The conclusion in the original bug was:

>> In that case, can we make sure the banner is at the top of the screen when using a fullscreen application?

> We can and we should.

The extension is also included in RHEL 9, so we should apply the same fix.

Comment 2 Michael Boisvert 2022-12-17 01:06:38 UTC
Using gnome-shell-extensions-40.7-4.el9, the classification banner is moved up 25 pixels when an application is switched into fullscreen mode.

Comment 7 errata-xmlrpc 2023-05-09 07:46:31 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:2328