Bug 1807101

Summary: Desktop Background Misaligned on Fresh Install
Product: Red Hat Enterprise Linux 8 Reporter: Michael Boisvert <mboisver>
Component: mutterAssignee: Jonas Ã…dahl <jadahl>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.2CC: fmuellner, rduda, rstrode, sgallagh
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-25 07:27:07 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
Misaligned Background Image
none
Aligned Background Image none

Description Michael Boisvert 2020-02-25 15:32:13 UTC
Description of problem: This has been a minor problem for some time now. On a fresh installation of RHEL8.2 (and previous) the desktop background is misaligned to the right by one column of pixels. Its very obvious because the column is blue vs the black/grey default image.

Any change to the desktop background image, including changing the image to the already selected one, will align the image correctly.  

Steps to Reproduce:
1. Install RHEL8.2 Workstation
2. Log into a session
3. Observe the desktop background on the left side. 

Actual results: Blue strip

Expected results: No blue strip

Additional info: See attached images.

Comment 1 Michael Boisvert 2020-02-25 15:33:55 UTC
Created attachment 1665666 [details]
Misaligned Background Image

Comment 2 Michael Boisvert 2020-02-25 15:34:30 UTC
Created attachment 1665667 [details]
Aligned Background Image

Comment 3 Michael Boisvert 2020-02-25 15:35:54 UTC
I can reproduce this issue with every fresh installation with a display set to 1366x768.

Comment 4 Ray Strode [halfline] 2020-02-26 14:23:07 UTC
so what i think's going on here is:

1) we don't ever want to stretch the image because stretching it can distort the trade dress
2) so we only scale the image based on an image with the closest aspect ratio
3) in this case the aspect ratio of 1366/768 is 

>>> 1366/768
1.7786458333333333

and the closest match is

>>> 2560/1440
1.7777777777777777

which is actually pretty close, but I guess still different enough that it's creating a 1 pixel wide letterbox

4) what's odd is the blue line on one side and the grey line on the other.  I think if it were solid black no one would even notice.
5) we could consider shipping a 1366x768 background *anyway* since the dramatic scaling is actually making the logo somewhat fuzzy.
that would fix the letter boxing and make the logo more clear, but would increase disk space usage on an already large package.

Comment 5 Ray Strode [halfline] 2020-02-26 15:32:00 UTC
okay i'm going to backpedal a bit following comment 4.

in rhel 7 we use black as the background color, not blue:

$ gsettings get org.gnome.desktop.background primary-color
'#000000000000'

and mboisvert pointed out that setting the original background again, fixes the glitch.

This makes me think there's a bug in mutter after all.

Comment 6 Ray Strode [halfline] 2020-02-26 16:27:14 UTC
*** Bug 1807489 has been marked as a duplicate of this bug. ***

Comment 9 RHEL Program Management 2021-08-25 07:27:07 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.