Summary: | =x11-libs/gtk+-2.24.17:2 - applications incompletely handles Compose keyboard modifier | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey S. Starikoff
2013-09-24 07:09:57 UTC
Please try with 2.24.20 (In reply to Pacho Ramos from comment #1) > Please try with 2.24.20 With =x11-libs/gtk+-2.24.20 at least typing 'Ⓐ' (Compose → O → A) in text editors (mousepad/leafpad) also failes. Try with .21 What is that compose key? I don't have it, I can use AltGr+Shift+R to get, for example, ®. Doing it with "a" gives me Æ (with gtk2, gtk3 and qt4) (In reply to Pacho Ramos from comment #3) > Try with .21 The same. > What is that compose key? I don't have it, I can use AltGr+Shift+R to get, > for example, ®. Doing it with "a" gives me Æ (with gtk2, gtk3 and qt4) Short explanation, excuse me my english: Basic keyboard input capabilities are very poor and unsufficient. Traditionally, there two ways to extend them, describing Xorg features: LevelN modifier (standard and almost always used, but not the only one is Level2 modifier aka shift) and MultiKey modifier, usually called Compose. The difference between them is in that using LevelN modifier typing simbol is the result of simultaneous pressing of modifier and key, MultiKey use sequental typing (first press Compose key and after — proper sequence for requested symbol). For details about Compose Key you can reference to /usr/share/X11/locale/ru_RU.UTF-8/Compose For detailes about Level3 modifier you use — /usr/share/X11/xkb/rules/base.lst I use XFce4 Desktop Environment. In this case Compose key modifier (or sequence) can be set directly via panel plugin (xfce-extra/xfce4-xkb-plugin). Further extending (setting Level3 modifier and so long): via setxkbmap utility or in server's config (10-evdev.conf). In your WM/DE they may be set in little bit different way. The list of needed (missed in basic includeing Level2 layout) symbols and keys for switching is a topic for discuss, starting from forum on gentoo.org. At least for multidot (…) and long dash (—) symbols I strictly prefer usage of Compose sequences (Compose → . → . and Compose → - → - → -). For 'æ' I find Compose sequence (Compose → a → e) also more intuitive. ☺ gtk+ does not natively support ~/.XCompose or customizable compose sequences. Compose sequences are defined statically in gtk/gtkimcontextsimpleseqs.h in the gtk+ source tarball; to add new compose sequences systemwide, you need to patch this file and recompile gtk+. As far as I know, currently the only way to add ~/.XCompose support to gtk+ applications is to use an input method that understands ~/.XCompose. For example, look at setting up xim or ibus as the input method for gtk+ in your desktop environment. Or manually export the GTK_IM_MODULE environment variable in your desktop session. If you want gtk+ to natively parse ~/.XCompose - that's a major feature request for upstream developers; please submit code patches to https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B |