Issue 40933 - combining letters do not work
Summary: combining letters do not work
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: ulf.stroehler
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 05:11 UTC by hhielscher
Modified: 2005-05-31 17:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
/etc/X11/xkb/symbols/pc/ru with combining_acute (6.90 KB, text/plain)
2005-03-21 18:15 UTC, hhielscher
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hhielscher 2005-01-19 05:11:54 UTC
I have changed my russian keyboard layout to contain both dead_acute and
combining_acute. Using openoffice.org1.9.69 I am unable to enter accent-bearing
russian letters. Though copying from a webpage
(http://www.hist.no/~hra/test/komb.html) works, but the accents are one letter
behind.
The paste test worked correct in OOo1.1.4, but the combining acute worked like a
dead key and the dead acute worked strange.
Comment 1 hhielscher 2005-01-20 09:13:38 UTC
WFM/openoffice.org1.9.71.1
Comment 2 hhielscher 2005-01-27 15:18:32 UTC
openofficeorg-1.9.74-1 pasting works correctly, but keyboard entry fails (both
dead_acute and combining_acute)
Comment 3 hhielscher 2005-02-09 19:08:25 UTC
1.9.77 behaves like 1.9.74
Comment 4 hhielscher 2005-02-18 11:23:56 UTC
no change in 1.9.79
Comment 5 Martin Hollmichel 2005-03-11 13:55:22 UTC
reassign open l10n issue to new default owner.
Comment 6 falko.tesch 2005-03-21 15:48:27 UTC
FT: Can you please have a look into this issue? Thx.
Comment 7 ulf.stroehler 2005-03-21 16:33:58 UTC
What desktop environment are you using and what's your locale?

Additionally could you pls. teach me what to type in order to reproduce the
issue (assuming I've toggled my keyboard layout to russian via "setxkbmap"
command). Thanks in advance.
Comment 8 hhielscher 2005-03-21 17:54:29 UTC
$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

Unfortunately there is no default russian keymap that contains combining letters
(AFAIK). I added dead_acute, dead_grave and combining_acute, combining_grave by
hand to /etc/X11/xkb/symbols/pc/ru
To test enter:
a) dead_acute + character
b) character + combining_acute
The later should work with almost all cyrillic characters.

My Desktop is KDE 3.3 / Mandrake Cooker.
Comment 9 ulf.stroehler 2005-03-21 18:02:42 UTC
Thaks for the update.
Would you mind to attach your private /etc/X11/xkb/symbols/pc/ru?
Thanks,
Ulf
Comment 10 hhielscher 2005-03-21 18:15:09 UTC
Created attachment 24120 [details]
/etc/X11/xkb/symbols/pc/ru with combining_acute
Comment 11 ulf.stroehler 2005-03-21 18:25:48 UTC
Thanks. Will have a look.
Comment 12 ulf.stroehler 2005-03-21 20:04:44 UTC
Hmm, doesn't work for me in xterm and gedit either. I only get "equal" and
"plus" on key <AE12>; deadkeys enabled.  Pls. comment.
Additionally, could you pls. describe what exactly OO.o does and what would be
expected.

When testing this pls. do not use kde as it fiddles around with the keyboard a
lot and you never know what it does in the background (e.g. when the first kde
app starts it modifies your keymap even if you haden't configured kde to change
your keyboard).
Comment 13 hhielscher 2005-03-21 21:07:06 UTC
Did you use a font (e.g. Times New Roman) that supports combining accents? Did
you try openoffice.org1.9.71.1 where it worked for me?

What does OOo 1.9.79 do? 
a)combining_acute
  current: combining_acute does nothing.
  expected:combining_acute adds an combining acute accent (U+0301)
           to the last character
b)dead_acute
  (after pressing dead_acute applications wait for a second character)
  current: dead_acute + character gives nothing
  expected:the unicode character gets displayed if available
           (e.g. dead acute +  г(U+0433) gives ѓ(U+0453))
           other characters are often composed using U+0301

Gtk-Apps (I tried gedit and abiword) behave the same as OOo.

It works in KDE Apps with the right font. Applications behaved the same in a
Gnome environment.
Comment 14 hhielscher 2005-03-22 00:49:28 UTC
> Hmm, doesn't work for me in xterm and gedit either. 
> I only get "equal" and "plus" on key <AE12>; deadkeys enabled.

Sounds like you did not use a modified keymap. Maybe you are not using a
PC-Keyboard? Anyway, you can check if the input works using the "xev" command.
It should give you lines like this:

KeyRelease event, serial 31, synthetic NO, window 0x1600001,
    root 0x60, subw 0x0, time 34827213, (145,139), root:(148,460),
    state 0x2010, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "´"

KeyPress event, serial 31, synthetic NO, window 0x1600001,
    root 0x60, subw 0x0, time 34831235, (145,139), root:(148,460),
    state 0x2010, keycode 20 (keysym 0x1ef3, combining_acute), same_screen YES,
    XLookupString gives 2 bytes: (cc 81) ""
    XmbLookupString gives 2 bytes: (cc 81) ""
    XFilterEvent returns: True
Comment 15 ulf.stroehler 2005-03-22 15:14:46 UTC
Your private key symbols file 'ru' still doesn't work for me with plain Xorg (no
desktop environment). And yes, I have a PC keyboard and xev also returns 'equal'
and 'plus' for the key <AE12>. But that's probably a bug in Xorg's xkbd :-(

> Gtk-Apps (I tried gedit and abiword) behave the same as OOo.

This is the key sentence (and what I've expected.). It doesn't work in Gtk-Apps
and as OO.o uses the event handling of Gtk it can't work in OO.o. Now since the
last couple of versions we also loaded the gtk-plugin on KDE to enable KDE
theming through the gtk-qt-theme engine (see
http://www.freedesktop.org/Software/gtk-qt). However in current inhouse versions
we again dropped this feature because of massive performance drawbacks.

To reset to the old behaviour you can try the following environment:
SAL_USE_VCLPLUGIN=gen

Works the same as in other Gtk apps. =>proved compatibility =>WFM.
Comment 16 ulf.stroehler 2005-03-22 15:26:48 UTC
Considering fixed with issue 41806.
Comment 17 hhielscher 2005-04-07 15:08:50 UTC
WFM/openofficeorg-1.9.90
Comment 18 hhielscher 2005-05-18 11:25:46 UTC
WFM/openofficeorg-1.9.100
Comment 19 ulf.stroehler 2005-05-31 17:16:17 UTC
Changing resolution as suggested by submitter.
Comment 20 ulf.stroehler 2005-05-31 17:16:56 UTC
Closing.