Date: Mon, 13 Aug 2001 14:57:13 +0900 From: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp> To: freebsd-java@freebsd.org Subject: Japanese users, please help! (Re: 1.3.1 patchset 2) Message-ID: <55hevc5wp2.wl@tripper.private> In-Reply-To: <20010813143257.B3131@misty.eyesbeyond.com> References: <20010813143257.B3131@misty.eyesbeyond.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi all,
Patchset 2 has been released, but I know a problem only appears in
Japanese environment (using XIM). This is a segmentation fault within
internal of Open Motif. At this time, I cannot determine which of
J2SDK and Open Motif is bad, but patches for Open Motif attached this
mail seems to fix the problem. So if you try J2SDK on Japanese
environment, please apply patches to Open Motif before testing J2SDK
otherwise all programs using java.awt.TextArea or java.awt.TextField
dump core.
There is another issue related Japanese environment. Xwnmo cannot be
used to input Japanese text into Java program (e.g. demo/jfc/Notepad)
but kinput2 works fine. I don't have another XIM server, so I cannot
test other XIM server such as VJE. If you have such a XIM server,
please run demo/jfc/Notepad and check whether you can input Japanese
text or not using your XIM server.
Thanks,
P.S. I made patches for Open Motif using FreeBSD's ports version of
Open Motif.
--
Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
Matsuoka laboratory,
Department of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.
[-- Attachment #2 --]
--- motif/lib/Xm/XmIm.c.bak Wed Aug 8 05:53:02 2001
+++ motif/lib/Xm/XmIm.c Mon Aug 13 07:37:51 2001
@@ -479,6 +479,7 @@
im_info->current_widget = w;
XtVaGetValues(w, XmNbackground, &bg, NULL);
XtVaSetValues(p, XmNbackground, bg, NULL);
+ ImGeoReq(p);
draw_separator(p);
}
_XmAppUnlock(app);
@@ -1272,6 +1273,7 @@
XtAddEventHandler(p, (EventMask)mask, False, null_proc, NULL);
}
if (XtIsRealized(p)) {
+ im_info->current_widget = w;
if (XmIsDialogShell(p)) {
for (i = 0;
i < ((CompositeWidget)p)->composite.num_children;
@@ -1282,7 +1284,6 @@
}
} else
ImGeoReq(p);
- im_info->current_widget = w;
}
/* Is this new XIC supposed to be shared? */
switch (input_policy)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55hevc5wp2.wl>
