After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 402814 - problems with unicode-characters (combining diacritics, hyphens, ...)
problems with unicode-characters (combining diacritics, hyphens, ...)
Status: RESOLVED DUPLICATE of bug 413017
Product: metacity
Classification: Other
Component: general
2.16.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2007-01-31 13:11 UTC by Werner Meyer
Modified: 2007-04-16 05:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Werner Meyer 2007-01-31 13:11:07 UTC
Please describe the problem:
I used to customise my keyboard with xmodmap and in suse10.0 it worked quite
well.
[Some kde-stuff had problems and it was not possible to put something else
then j and n to j- and n-key + mode-switch or mode-switch+shift or level3 ...
which works now].
Now I installed opensuse10.2 and was shocked.

I use a file ~/.Xmodmap.customised, containing the following lines:

! keycode  20 = ssharp question backslash questiondown backslash questiondown
keycode  20 = 0x010000df question backslash questiondown
! keycode  34 = udiaeresis Udiaeresis periodcentered multiply periodcentered multiply
keycode  34 = 0x010000fc 0x010000dc periodcentered multiply 
! keycode  47 = odiaeresis Odiaeresis oe OE oe OE
keycode  47 = 0x010000f6 0x010000d6 oe OE 
! keycode  48 = adiaeresis Adiaeresis ae AE ae AE
keycode  48 = 0x010000e4 0x010000c4 ae AE 
keycode  65 = space 0x010000a0 0x010000a0 0x0100200b 
! keycode 113 = ISO_Level3_Shift
keycode 113 = Mode_switch
! keycode 116 = Super_R Multi_key
keycode 116 = ISO_Level3_Shift
keycode  26 = e E 
keycode xxx = 0x0100030c 
keycode yyy = 0x010000ad

I do:
xmodmap ~/Xmodmap.customised 

But:

1.
Right win-key still works as main-manu-starter (maybe a gnome-bug?).
Really bad thing!

2.
gedit, gnome-terminal, thunderbird, firefox and xterm completely ignore german
umlauts and sharp-s.
OpenOffice shows only little boxes instead of characters.
Kate, Kmail show the characters without problems!

3.
unicode hex-number A0 (nobreakspace) is ignored by gedit... OO shows a litle
box, (kate seems to put in usual space (it breaks)), kmail works right!

4.
Similiar problems with soft-hyphen (unicode-(hex)-number AD) most programs
strike.
kmail works. In suse10.0 still worked in OO (both - A0 and AD).

5.
gedit, gnome-terminal mozilla-thunderbird (1.5.0.9) put combining diacritics
behind the character instead of above it.
e.g. key 26 , then key xxx gives e and then hacek instead of e with hacek.
(try backspace or curser-left and delete - funny things happen)
Mozilla-firefox (2.0.0.1), Openoffice (2.1) and xterm concerning this do work.
kate and kmail work properly.


Steps to reproduce:
1.a) save keybordlayout
xmodmap -pke > ~/.Xmodmap.original
1.b) save keybordlayout
xmodmap -pke > ~/.Xmodmap.customised
2. edit ~/.Xmodmap.customised as shown above
3. load this keybordlayout
xmodmap ~/.Xmodmap.customised


Actual results:
Right win-key still works as main-manu-starter (maybe a gnome-bug?).
Really bad thing!

Expected results:
Right win-key should work as level-3-switch!!!!

Does this happen every time?
yes

Other information:

I use combining diacritic marks for languages like romanian, czech, slovak,
german, french, ... from unicode range (hex) from 300 to 36F (Akzente, cedilla,
diaresis etc.). So i can write all these languages with one keyboard(layout).

SuSE9.0 still had basically problems with unicode.
suse10.0 worked fine with gnome, gedit, gnome-terminal, mozilla and openoffice. (kde had problems - mainly if there were missing characters in a font.)
(There was the problem with j and n I described above.) 
And now these problems in opensuse10.2... I don't understand that!
Comment 1 Werner Meyer 2007-02-28 14:56:17 UTC
Problem 1 (win-key-behavior) see bug 413017
Comment 2 Elijah Newren 2007-04-16 05:56:00 UTC
problem 1 is bug 413017 as you point out, problems 2-5 aren't WM keybindings and thus aren't metacity related.  Please file a bug against the relevant apps(s) having problems (might want to check on libxklavier and also see if SuSE is doing something weird like it is with the main menu thingy).

Since the only potentially metacity related thing was filed as a separate bug, I'm going to mark as a duplicate.

*** This bug has been marked as a duplicate of 413017 ***