GNOME Bugzilla – Bug 796437
Mail list doesn't display correctly when there is Chinese or Japanese
Last modified: 2021-05-19 12:28:40 UTC
Created attachment 372444 [details] mail list view I use English as my default system language. The texts are not be well displayed if there is Chinese or Japanese.It looks like the bottom of the text is cropped by a line.
Please provide Evolution version and font information and distribution name and distribution version. Cannot reproduce the problem with the font that Fedora 28 uses.
Hello, I use Ubuntu 18.04, gnome version 3.28.1 with evolution 3.28.1. The font is default, name Ubuntu.
Created attachment 372463 [details] test message (works fine) Thanks for a bug report. It looks like the font with those Chinese letters is somehow taller than the one with English letters, which makes the precalculated uniform row height "misbehave" in the message list. I also cannot reproduce this in Fedora 28 using the attached message. Could you get the Subject header from the message source (Ctrl+U) of one of the affected messages and replace with it the Subject header in the attached message and share it for testing, please?
Created attachment 372464 [details] Screenshot Maybe not exactly the same issue, but some Unicode "boxes" are also cut by default in Fedora 28, but only in the message list.
Created attachment 372465 [details] Testcase for comment 4
(In reply to André Klapper from comment #4) > Maybe not exactly the same issue, but some Unicode "boxes" are also cut by > default in Fedora 28, but only in the message list. Hrm, I have all those letters in my font (whichever it picks), no boxes shown here.
(In reply to Milan Crha from comment #3) > Created attachment 372463 [details] > test message (works fine) > > Thanks for a bug report. It looks like the font with those Chinese letters > is somehow taller than the one with English letters, which makes the > precalculated uniform row height "misbehave" in the message list. > > I also cannot reproduce this in Fedora 28 using the attached message. > > Could you get the Subject header from the message source (Ctrl+U) of one of > the affected messages and replace with it the Subject header in the attached > message and share it for testing, please? Hi, the same error even with your testing message here. And from my side, the height is OK, both English letters and Chinese. Here I can reproduce this bug with your testing message, In the mail list view, if I narrow the column, make the Chinese hidden(see attachment 'Chinese hide'),it looks OK, the text is in the center position. But if make the column wider and Chinese word shown(see attachment 'Chinese show'), I can see a animation that all text going down and become bottom position, please note the bottom of letter 'j' was cropped from word Subject or emoji. Very weird.
Created attachment 372473 [details] Chinese hide
Created attachment 372474 [details] Chinese show
Aha, I see, the text moves slightly lower when the Chinese characters are shown. It doesn't cut the bottom of the text here though. Do you have anything like this: ETable,* { -ETable-vertical-spacing: 1px; } in ~/.config/gtk-3.0/gtk.css, please? Though even if I comment that line out it doesn't change the behaviour here, the bottom of the text is not cut when the Chinese letters are visible. This might have something to do with the theme. Could you try to change the font to something else, like Cantarell? Mine GNOME Shell uses (as shown in gnome-tweaks): Window Title: Cantarell Bold 11 Interface: Cantarell Regular 11 Document: Sans Regular 11 Monospace: Monospace Regular 11 With these ^^^ settings the line even doesn't move when the Chinese letters are shown (with Sans 10 on all non-monospace fonts it moves a bit, in MATE, not in GNOME).
There is no "~/.config/gtk-3.0/gtk.css" in Ubuntu 18.04, but I found "/usr/share/themes/Ambiance/gtk-3.0/gtk.css",which only have one line "@import url("gtk-main.css");" and I open the gtk-main.css, I still can not find anything like yours.I also tried many other themes,like adwaita,adapta...None of them make sense. Changing fonts doesn't help too, I don't have Cantarell, so only tried other fonts.
You can use that ~/.config/... file to override system settings. The portion I added is usually not set in global/theme settings, but only in the user configuration. What is the font size you use, please? Do you have any generally available fonts, like "Sans"? I surely do not have "Ubuntu" font on Fedora.
Changed fonts to below setting: Window Title: Sans Bold Interface: Sans Regular Document: Sans Regular Monospace: Monospace Regular All sizes were set to 11. I noticed that only when I switch Interface Font from Ubuntu Regular to Sans Regular makes sense. Yes, by setting interface font sans regular works a bit.The Chinese text is fully displayed now, but still all texts were bottom position and letters like "j g y p" still were cropped. And by "override the system settings", do you suggest me create a file "~/.config/gtk-3.0/gtk.css" whose content is : ETable,* { -ETable-vertical-spacing: 1px; } I did, nothing happens. Sorry if I misunderstand you due to I'm not good at technics.
Also reported to https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1788553
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new bug report ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.