From bolker at ufl.edu  Wed May 13 16:12:10 2009
From: bolker at ufl.edu (Ben Bolker)
Date: Wed, 13 May 2009 10:12:10 -0400
Subject: [Rd] View() crashy on Ubuntu 9.04
In-Reply-To: <dc41e1260905130055h2c7761bdv7608657be5fa479f@mail.gmail.com>
References: <4A0A0A64.6030706@ufl.edu>	
	<18954.10612.51851.692033@ron.nulle.part>	
	<556e90a80905121943o85a6d7et8862c940fafda773@mail.gmail.com>	
	<18954.14509.928285.317516@ron.nulle.part>
	<dc41e1260905130055h2c7761bdv7608657be5fa479f@mail.gmail.com>
Message-ID: <4A0AD53A.10502@ufl.edu>

  This patch fixes the problem for me with latest R-devel.  Thanks!
(This kind of X-hacking would take me hours if not days to figure out ...)

  cheers
    Ben Bolker


Ei-ji Nakama wrote:
> 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.
> 


-- 
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bolker at ufl.edu / www.zoology.ufl.edu/bolker
GPG key: www.zoology.ufl.edu/bolker/benbolker-publickey.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090513/61120f08/attachment.bin>


[Rd] View() crashy on Ubuntu 9.04
Ben Bolker