[Rd] View() crashy on Ubuntu 9.04

Ben Bolker bolker at ufl.edu
Wed May 13 16:12:10 CEST 2009


  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>


More information about the R-devel mailing list