[kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

Mark Wielaard mark at klomp.org
Fri Mar 17 00:41:28 PST 2006


Hi Bernhard,

On Thu, 2006-03-16 at 20:05 +0100, Bernhard Reiter wrote:
> Am Mittwoch, 15. März 2006 20:47 schrieb Mark Wielaard:
> > Thanks. I see no key event is ever received by the Frame (this is on x86
> > for me). I have filed this as bug #26703
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26703
> 
> thanks for testing and filing the bug.

We still haven't fixed it, but I believe we understand the issue now.
See the bug report for some additional comments on where the problem is.

> > Do you happen to know if this ever worked with kaffe in the past?
> 
> To give you my full history:
> First I have tried:
> a) Mandriva (ia586) with their cooker kaffe package, probably
> Kaffe CVS from CVS (20060204) worked fine for me on the games.yahoo.com/go 
> applets, I believe that this will use the classpath implementation of swing.

Nice! I didn't know those worked already. But I am unable to try it
against gcjwebplugin since it seems to demand some sort of yahoo id.

> Next I wanted this on powerpc and tried
> 
> b) kaffe-1.1.7rc1 (my Debian backport on ppc):
> The go applet did display fine, but did not receive mouse or key events.
> Out of curiousiy I went deeper into the problem and thought it might be
> a ppc related problem, because it seemed to work on ia586 with seemingly
> the same version.

It would be nice if some kaffe hacker could explain the relation between
these versions. Which came before the other and what is the default awt
implementation for both?

> Now I was looking at 
> c) running example applications from www.javabuch.de
> using awt and swing on Debian. I found out that mouse and keyboard
> events did not work with the default setting, but worked 
> using kaffe's other awt implementation;  
> e.g. with kaffe -Xkaffe-xlib-awt TestKeyEvents  .

That does make sense. In the GNU Classpath gtk-peer awt implementation a
lot of work has been done to support "lightweight" components (like Free
Swing). This is less developed in the old style kaffe xlib-awt
framework. But in a couple of places we seem to forgot to check that
old-style "heavyweight" (aka plain awt components) still got the events
if the lightweights didn't handle them.

> Trying to report the presumatley ppc related bug I have now learned:
> d) There seems to be generic event bugs in classpath for kaffe.

Yes, as far as I can see they are not platform specific. The mouse
events issue seems to be solved now in a generic way. See:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26641

> And know looking closer I also see
> e) Mandriva has probably packages a CVS version after 1.1.7rc1 of Kaffe.
> 
> 
> Conclusion: next steps for me would be, 
> i) try to test another version of classpath. I am unsure how to do this with 
> kaffe without a new Debian version, so I might try jamvm, if this is easier 
> on Debian.

Or we can try to get kaffe to make a new release! :)
Including at least the patch from PR26641.

> ii) Retest my two testcases for Mandriva.

Thanks for all the testing. It (and the testcases) are really helpful.

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://kaffe.org/pipermail/kaffe/attachments/20060317/5f0120a2/attachment-0002.pgp 


More information about the kaffe mailing list