[Bug 888446] New: dead_caron + u should produce uring for czech locale xim
https://bugzilla.novell.com/show_bug.cgi?id=888446 https://bugzilla.novell.com/show_bug.cgi?id=888446#c0 Summary: dead_caron + u should produce uring for czech locale xim Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: i686 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: vlmarek@volny.cz QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 My .profile contains: export GTK_IM_MODULE=xim export QT_IM_MODULE=xim export LC_ALL=cs_CZ.UTF-8 Now if I press dead_caron + u, I get ǔ, but I should get ů. The same for capital letters - I get Ǔ but I should get Ů. The workaround I use is to set ~/.XCompose to include "%S/en_US.UTF-8/Compose" <dead_caron> <u> : "ů" U016F # LATIN SMALL LETTER U WITH RING ABOVE <dead_caron> <U> : "Ů" U016E # LATIN CAPITAL LETTER U WITH RING ABOVE This is already defined in /usr/share/X11/locale/iso8859-2/Compose , but one would have to use iso8859-2 instead of UTF-8: <dead_caron> <U> : "\331" Uring <dead_caron> <u> : "\371" uring (of course the binary value for Uring is different in iso8859-2 and UTF-8, so it can't be fixed by straight copy/paste) I don't understand the xkb too well, but I guess that there should be new directory and file /usr/share/X11/locale/cs_CZ.UTF-8/Compose which would contain something similar to what I have in ~/.XCompose Please note that it does not seem to be logical to use dead_caron for ring above u, but since we don't use ring above any other letter, and ǔ does not exist in czech, it's very convenient to have it print ů. This way it works on czech keyboards since ever. It's interesting that I have hard time finding evidence that it should be set this way. For example https://ufal.mff.cuni.cz/pdt/Support/czech-info.html The ring accent can occur only above an "u" where, in contrary, no caron can occur. That is why many keyboards use the sequence "dead caron" - "u"/"U" to enter an "u" with ring above. However, other keyboards (including Microsoft Windows, I guess) alocate a "dead ring" key elsewhere, often to shifted semicolon, replacing the U.S. key for tilde. https://lists.debian.org/debian-gtk-gnome/2003/11/msg00235.html Thank you __ Vlad Reproducible: Always Steps to Reproduce: 1. Enable XIM input method by putting this into your .profile: export GTK_IM_MODULE=xim export QT_IM_MODULE=xim export LC_ALL=cs_CZ.UTF-8 2. restart X so that the options take effect 2.5 start xterm 3. set czech keyboard map setxkbmap "us,cz(qwerty)" -option grp:shifts_toggle -option ctrl:swapcaps 4. switch into czech map by pressing both shifts together 5. Press dead_caron (shift + key "=" which should normally produce character "+") 6. Press letter "u" 7. ǔ appears, but I should see ů Actual Results: ǔ appears Expected Results: I should see ů -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=888446 https://bugzilla.novell.com/show_bug.cgi?id=888446#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> 2014-07-23 08:26:20 UTC --- Hmm. In /usr/share/X11/locale/en_US.UTF-8 there is already <dead_abovering> <U> : "Ů" U016E # LATIN CAPITAL LETTER U WITH RING ABOVE <Multi_key> <o> <U> : "Ů" U016E # LATIN CAPITAL LETTER U WITH RING ABOVE <Multi_key> <asterisk> <U> : "Ů" U016E # LATIN CAPITAL LETTER U WITH RING ABOVE <Multi_key> <U> <asterisk> : "Ů" U016E # LATIN CAPITAL LETTER U WITH RING ABOVE <dead_abovering> <u> : "ů" U016F # LATIN SMALL LETTER U WITH RING ABOVE <Multi_key> <o> <u> : "ů" U016F # LATIN SMALL LETTER U WITH RING ABOVE <Multi_key> <asterisk> <u> : "ů" U016F # LATIN SMALL LETTER U WITH RING ABOVE <Multi_key> <u> <asterisk> : "ů" U016F # LATIN SMALL LETTER U WITH RING ABOVE So you need even more definitions for it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=888446 https://bugzilla.novell.com/show_bug.cgi?id=888446#c2 --- Comment #2 from Vladimír Marek <vlmarek@volny.cz> 2014-07-23 12:25:35 UTC --- Yes please :) For czech locale. There are several czech keyboard layouts some of which do not have dead_above ring available (frankly till today I didn't know some of them have). We don't have ǔ letter, so we are not loosing anything by mapping it to ů. I'm not saying it's not possible to write letter 'ů', I'm saying that we are used to write it as dead_caron + u. Also I just checked on Mac and it also uses dead_caron + u to produce ů. And this is only for czech (cs_CZ.UTF-8), I don't know about any other locales. Thank you -- Vlad -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=888446 https://bugzilla.novell.com/show_bug.cgi?id=888446#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> 2014-07-23 12:37:16 UTC --- There is already <dead_caron> <u> : "ǔ" U01D4 # LATIN SMALL LETTER U WITH CARON in /usr/share/X11/locale/en_US.UTF-8/Compose. So you would need to introduce a cs_CZ.UTF-8 subdir and adjust *.dir files accordingly. Feel free to discuss this with X.Org upstream. We don't plan to add such an extra patch to our distribution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=888446 Petr Vorel <pvorel@suse.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pvorel@suse.cz -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com