Bug 1656262
Summary: | The terminal's character display is unclear on rhel8 guest after installing gnome | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | liuzi <zili> | ||||||||
Component: | gsettings-desktop-schemas | Assignee: | Carlos Garnacho <cgarnach> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 8.0 | CC: | debarshir, eng-i18n-bugs, juzhou, modehnal, mxie, mzhan, petersen, tagoh, tpelka, tzheng, xiaodwan | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | 8.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 3.32.0-5 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2020-11-04 01:34:13 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: |
|
Created attachment 1511531 [details]
the font related packages on guest
Created attachment 1511532 [details]
the font related packages on physical machine
This is using a proportional font instead of a monospace one; that's not supported. 1.After the guest's GUI installation is completed,no default settings for the terminal font have been modified. 2.After modifying the guest's font, the terminal's character display is normal. You simply don't have enough fonts installed Please run the command: sudo yum install @fonts I don't know how you installed the VM but it is much easier if you install a desktop configuration: ie Workstation or Server etc. I dunno if a weak dependency on dejavu-sans-mono-fonts could be added to gnome-terminal to alleviate this? This is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1677056 but I think the details are a bit different. It's very likely a gsettings-desktop-schemas problem. In gsettings-desktop-schemas 3.31.90 (eventually GNOME 3.32 and Fedora 30), the default monospace font was changed to "Source Code Pro 10" from the previous "Monospace 11". See: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/17 Then the Fedora package was updated to Recommend font(sourcecodepro). See: https://src.fedoraproject.org/rpms/gsettings-desktop-schemas/c/5078dfad955967456e7fb56e1b18ccc4d7c2d5b8 https://bugzilla.redhat.com/show_bug.cgi?id=1677056 These changes are in the rhel-8.2.0 branch of gsettings-desktop-schemas. However, it also overrides the default monospace font back to "Monospace 11". See: https://bugzilla.redhat.com/show_bug.cgi?id=1715761 Now there's no adobe-source-code-pro-fonts package in RHEL. It seems to be that the Recommends in the gsettings-desktop-schemas RPM (ie., "font(sourcecodepro) from adobe-source-code-pro-fonts") don't match the default in the schema itself (ie., overridden to "Monospace 11"). (In reply to Debarshi Ray from comment #7) > In gsettings-desktop-schemas 3.31.90 (eventually GNOME 3.32 and Fedora 30), > the default monospace font was changed to "Source Code Pro 10" from the > previous "Monospace 11". See: > https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/17 > > Then the Fedora package was updated to Recommend font(sourcecodepro). See: > https://src.fedoraproject.org/rpms/gsettings-desktop-schemas/c/ > 5078dfad955967456e7fb56e1b18ccc4d7c2d5b8 > https://bugzilla.redhat.com/show_bug.cgi?id=1677056 > > These changes are in the rhel-8.2.0 branch of gsettings-desktop-schemas. > However, it also overrides the default monospace font back to "Monospace > 11". See: > https://bugzilla.redhat.com/show_bug.cgi?id=1715761 > > Now there's no adobe-source-code-pro-fonts package in RHEL. It seems to be > that the Recommends in the gsettings-desktop-schemas RPM (ie., > "font(sourcecodepro) from adobe-source-code-pro-fonts") don't match the > default in the schema itself (ie., overridden to "Monospace 11"). I think it would be good to file a separate bug for this. (In reply to Debarshi Ray from comment #7) > Now there's no adobe-source-code-pro-fonts package in RHEL. It seems to be > that the Recommends in the gsettings-desktop-schemas RPM (ie., > "font(sourcecodepro) from adobe-source-code-pro-fonts") don't match the > default in the schema itself (ie., overridden to "Monospace 11"). This is the reason. fontconfig doesn't know where "fonts" is classified in generic family names. if no such fonts are installed, fontconfig tries to fall back to sans-serif anyway. that is the side effect of having certain font name there. Reassigning to gsettings-desktop-schemas to get the Recommends in the RPM to match the actual (overridden) settings. @Akira, @Jens, or anybody more knowledgeable than me, What's the default monospace font that we expect a RHEL GNOME session to have? I guess it's the same defaults that Fedora and upstream GNOME used to have before the default changed in Fedora 30? Is it DejaVu Sans Mono from the dejavu-sans-mono-fonts RPM? If so, then 'Recommends: font(dejavusansmono)' should be correct, right? Yes, DejaVu Sans Mono is default monospace font. Unable to reproduce with gsettings-desktop-schemas-3.32.0-5.el8.x86_64 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 (Moderate: GNOME security, 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/RHSA-2020:4451 |
Created attachment 1511530 [details] screenshot of guest-terminal Description of problem: The terminal's character display is unclear on rhel8 guest after installing gnome Version-Release number of selected component (if applicable): host:kernel-4.18.0-40.el8.x86_64 guest:gnome-terminal-3.28.2-3.el8.x86_64 vte291-0.52.2-2.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1.Install rhel8 guest in virt-manager on rhel8 server 2.Configure baseOS and Appstream repo in guest and install GUI for rhel8 guest #yum install gnome* # yum install xorg-x11* # systemctl set-default graphical.target 3.Reboot the guest after installing all related GUI packages and open the terminal. Actual results: The terminal's character display is unclear on rhel8 guest after installing gnome Expected results: The terminal's character display should be clear on rhel8 guest after installing gnome Additional info: 1.Can reproduce on rhel8 guest which on VMware 2.Can display normally on physical machine 3.In comparison of the packages installed on physical machines (which display clearly and nicely), some packages are missing on the installation in guest os.please refer to attachments.