From nakama at ki.rim.or.jp  Wed May 13 09:55:30 2009
From: nakama at ki.rim.or.jp (Ei-ji Nakama)
Date: Wed, 13 May 2009 16:55:30 +0900
Subject: [Rd] View() crashy on Ubuntu 9.04
In-Reply-To: <18954.14509.928285.317516@ron.nulle.part>
References: <4A0A0A64.6030706@ufl.edu>
	<18954.10612.51851.692033@ron.nulle.part>
	<556e90a80905121943o85a6d7et8862c940fafda773@mail.gmail.com>
	<18954.14509.928285.317516@ron.nulle.part>
Message-ID: <dc41e1260905130055h2c7761bdv7608657be5fa479f@mail.gmail.com>

Hi

2009/5/13 Dirk Eddelbuettel <edd at debian.org>:
<snip>
> #0 ?0xb70e685e in XmbLookupString () from /usr/lib/libX11.so.6
> #1 ?0xb73a9d48 in doSpreadKey (DE=0x8bfd040, key=<value optimized out>, event=0xbfed68d8) at dataentry.c:1828

It is generated by XmbLookupString and Xutf8LookupString because
this doesn't make Input context of X11 when dataeditor is View.

static char *GetCharP(DEEvent * event)
{
     <snip>
            XmbLookupString(ioic, (XKeyEvent *)event, /* ioic at view
time is NULL*/
                            text, sizeof(text) - clength,
                            &iokey, &status);
     <snip>
}

I think that this only has to limit GetCharP to isEditor=TRUE.
moreover View() was strange operation of  "page down".


http://prs.ism.ac.jp/~nakama/working/dataentry.patch

I think that I improve the above-mentioned by this patch.

-- 
EI-JI Nakama  <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>



[Rd] View() crashy on Ubuntu 9.04
Ei-ji Nakama