gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard problem


From: Eric Wasylishen
Subject: Re: Keyboard problem
Date: Fri, 11 May 2012 21:24:20 -0600

Hey German,
I investigated a similar problem a while ago. My test case was setting
the keyboard layout in gnome on Ubuntu 12.04 to French, using the
Ubuntu gui for changing keyboard layouts. This was on a physically US
English keyboard, and I was getting similar output in Ink when
pressing a key that should have produced an accented e or a.

I traced the problem to Source/x11/XIMInputServer.m, in particular, it
does some things with setting the C locale which didn't make sense to
me based on reading the documentation of the relevant XIM functions.
In my case, the existing XIMInputServer code was not calling
Xutf8LookupString when it should have.

Here is a patch that cleans up XIMInputServer a bit. Assuming this
fixes it for you - before the patch can be committed there also needs
to be a configure check for the Xutf8LookupString function
(HAVE_XUTF8LOOKUPSTRING) added - IIRC it is a relatively recent
addition to Xorg.

Cheers,
Eric


On Fri, May 11, 2012 at 5:56 AM, Germán A. Arias <address@hidden> wrote:
> Each time I launch a gnustep app, I get this message:
>
> Unable to initialize XIM, using standard keyboard events
>
> So, If I type something like "á" on Ink, I get "A'a". Is this
> something wrong on my configuration? or is a bug on gnustep?
> Attached test log for base, where I have 5 test fail.
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>

Attachment: back-input-fix.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]