Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814518 - app-editors/gvim-8.2.0814-r100 with Athena GUI: Cannot type accents
Summary: app-editors/gvim-8.2.0814-r100 with Athena GUI: Cannot type accents
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-23 21:23 UTC by qsmodo
Modified: 2022-03-12 19:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo,5.28 KB, text/plain)
2021-09-23 21:23 UTC, qsmodo
Details
locale (locale,318 bytes, text/plain)
2021-09-23 21:28 UTC, qsmodo
Details
USE flags (useflags,229 bytes, text/plain)
2021-09-23 21:29 UTC, qsmodo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qsmodo 2021-09-23 21:23:23 UTC
Created attachment 740943 [details]
emerge --info

0. On a en_US.UTF-8 locale,
1. Emerge Gvim with Athena GUI (-motif -gtk -gtk2 -neXt),
2. Start a clean instance (gvim -u NONE).

Expected: Toolbar labels are displayed properly.
Actual:   Toolbar labels are garbled.

3. Enter insert mode and try to type an accented letter, say á.

Expected: á is inserted.
Actual:   Ã is inserted.

Interestingly, if the file already contains accented characters, say

    echo áéíü > accents
    gvim -u NONE accents

The characters are correctly displayed. They only can't be inserted.

With "LC_ALL=C gvim -u NONE accents" the text is displayed wrongly (as expected) as

    áéíü

But the toolbar labels are correct.

Also one can always paste accented characters from clipboard (with "+p) just fine.

The issue is **not** present when Gvim is built from sources from upstream.

In all cases mentioned above I get

    Warning: Missing charsets in String to FontSet conversion

warnings, but again, if built from upstream there is no real problem despite the warnings.
Comment 1 qsmodo 2021-09-23 21:28:31 UTC
Created attachment 740946 [details]
locale
Comment 2 qsmodo 2021-09-23 21:29:10 UTC
Created attachment 740949 [details]
USE flags
Comment 3 Michael Hofmann 2021-09-25 17:09:58 UTC
See: https://forums.gentoo.org/viewtopic-t-1142874.html