Bug#483919: classpath-qtpeer: Classpath AWT support still royally broken
tag 483919 upstream forwarded 483919 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36448 thanks On Sun, Jun 01, 2008 at 10:51:10AM +0200, Josef Spillner wrote: > Package: classpath-qtpeer > Version: 2:0.97.1-3 > Severity: normal > > I'm trying to run a hybrid Java applet/application on an AMD64 sid machine. > While my goal > would be to get the applet running, I'm already stuck with some Classpath > bugs regarding > any GUI activity of the application. > > When using gij-4.3 with the Gtk+ peers, the application just hangs instead of > opening a > window. Selecting the Qt peers doesn't seem to be possible. When deliberately > giving it a > wrong URL, it should just show an error message box. It does so with the Gtk+ > peers although > the text is not readable on it and the button cannot be clicked. > > When using cacao instead of gij-4.3, I can select the Qt peers. But it > doesn't help, instead > the backtrace hints at some missing methods in the peers. > > $ cacao -Dawt.toolkit=gnu.java.awt.peer.qt.QtToolkit -jar ggz-java-client.jar > -uri foo > QPixmap: It is not safe to use pixmaps outside the GUI thread > [...] > Exception in thread "main" java.lang.UnsupportedOperationException >at gnu.java.awt.peer.qt.QtFontPeer.getLineMetrics(QtFontPeer.java:188) >at java.awt.Font.getLineMetrics(Font.java:1029) > [...] >at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:1442) > > The JAR file can be downloaded from: > http://us.ggzgamingzone.org/~josef/ggz-java-client.jar > It works fine with the latest JDK7 builds and other Sun releases. > > Ideally, the bug would be considered fixed when the application runs without > any problems. > But any sort of status information and hints would already help. According to > Tom Marble's > Debconf7 talk, OpenJDK would become a Lenny release goal, but it doesn't seem > to be the case > according to release.debian.org. The QT peer is known to miss some features. The font handling is such feature when you need to access fonts yourself. This is an upstream issue. Patches are always welcome. I forwarded your request. Cheers, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#483919: classpath-qtpeer: Classpath AWT support still royally broken
Package: classpath-qtpeer Version: 2:0.97.1-3 Severity: normal I'm trying to run a hybrid Java applet/application on an AMD64 sid machine. While my goal would be to get the applet running, I'm already stuck with some Classpath bugs regarding any GUI activity of the application. When using gij-4.3 with the Gtk+ peers, the application just hangs instead of opening a window. Selecting the Qt peers doesn't seem to be possible. When deliberately giving it a wrong URL, it should just show an error message box. It does so with the Gtk+ peers although the text is not readable on it and the button cannot be clicked. When using cacao instead of gij-4.3, I can select the Qt peers. But it doesn't help, instead the backtrace hints at some missing methods in the peers. $ cacao -Dawt.toolkit=gnu.java.awt.peer.qt.QtToolkit -jar ggz-java-client.jar -uri foo QPixmap: It is not safe to use pixmaps outside the GUI thread [...] Exception in thread "main" java.lang.UnsupportedOperationException at gnu.java.awt.peer.qt.QtFontPeer.getLineMetrics(QtFontPeer.java:188) at java.awt.Font.getLineMetrics(Font.java:1029) [...] at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:1442) The JAR file can be downloaded from: http://us.ggzgamingzone.org/~josef/ggz-java-client.jar It works fine with the latest JDK7 builds and other Sun releases. Ideally, the bug would be considered fixed when the application runs without any problems. But any sort of status information and hints would already help. According to Tom Marble's Debconf7 talk, OpenJDK would become a Lenny release goal, but it doesn't seem to be the case according to release.debian.org. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages classpath-qtpeer depends on: ii libc6 2.7-11 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-4 GCC support library ii libqtcore44.4.0-2Qt 4 core module ii libqtgui4 4.4.0-2Qt 4 GUI module ii libstdc++64.3.0-4The GNU Standard C++ Library v3 classpath-qtpeer recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]