bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/27118] New: SkinnedButton colormap problem on the Nokia 770/Mae


From: philippe dot laporte at gatespacetelematics dot com
Subject: [Bug awt/27118] New: SkinnedButton colormap problem on the Nokia 770/Maemo
Date: 11 Apr 2006 13:33:05 -0000

With:
- jamvm-1.4.2 
- classpath-0.91-pre from
http://builder.classpath.org/dist/classpath-latest.tar.gz on the 4th of April

all built from source

-in x86 target in scratchbox with the Maemo SDK rootstrap
(Maemo_Dev_Platform_RS_v1.1_i386) and Xephyr from that package.

Do
1- start xephyr outside scratchbox
2- af-sb-init.sh start
3- run-standalone.sh jamvm klurfe.Main

The attached reproducer gets:

jamvm[20290]: GLIB WARNING ** Gdk - Using Xft rendering requires the drawable
argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
java.lang.InternalError: Gdk: Using Xft rendering requires the drawable
argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
   at gnu.java.awt.peer.gtk.GtkImage.drawPixelsScaled (Native Method)
   at gnu.java.awt.peer.gtk.GtkImage.drawImage (GtkImage.java:625)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:239)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:223)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:230)
   at klurfe.SkinnedButton.paint (SkinnedButton.java:131)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.paintComponent
(GtkComponentPeer.java:325)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:289)
   at java.awt.Component.dispatchEventImpl (Component.java:4968)
   at java.awt.Component.dispatchEvent (Component.java:2320)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
jamvm[20290]: GLIB WARNING ** Gdk - gdkpixbuf-drawable.c:1249: Source drawable
has no colormap; either pass in a colormap, or set the colormap on the drawable
with gdk_drawable_set_colormap()
java.lang.InternalError: Gdk: gdkpixbuf-drawable.c:1249: Source drawable has no
colormap; either pass in a colormap, or set the colormap on the drawable with
gdk_drawable_set_colormap()
   at gnu.java.awt.peer.gtk.GtkImage.drawPixelsScaled (Native Method)
   at gnu.java.awt.peer.gtk.GtkImage.drawImage (GtkImage.java:625)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:239)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:223)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:230)
   at klurfe.SkinnedButton.paint (SkinnedButton.java:131)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.paintComponent
(GtkComponentPeer.java:325)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:289)
   at java.awt.Component.dispatchEventImpl (Component.java:4968)
   at java.awt.Component.dispatchEvent (Component.java:2320)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)

our proprietary example gets:

 jamvm[15309]: GLIB WARNING ** Gdk - Using Xft rendering requires the drawable
argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
java.lang.InternalError: Gdk: Using Xft rendering requires the drawable
argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
   at gnu.java.awt.peer.gtk.GtkImage.drawPixelsScaled (Native Method)
   at gnu.java.awt.peer.gtk.GtkImage.drawImage (GtkImage.java:625)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:239)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:223)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:230)
   at com.ubiserv.service.appmanager.SkinnedButton.paint
(SkinnedButton.java:302)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.paintComponent
(GtkComponentPeer.java:325)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:289)
   at java.awt.Component.dispatchEventImpl (Component.java:4968)
   at java.awt.Component.dispatchEvent (Component.java:2320)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
jamvm[15309]: GLIB WARNING ** Gdk - gdkpixbuf-drawable.c:1249: Source drawable
has no colormap; either pass in a colormap, or set the colormap on the drawable
with gdk_drawable_set_colormap()
java.lang.InternalError: Gdk: gdkpixbuf-drawable.c:1249: Source drawable has no
colormap; either pass in a colormap, or set the colormap on the drawable with
gdk_drawable_set_colormap()
   at gnu.java.awt.peer.gtk.GtkImage.drawPixelsScaled (Native Method)
   at gnu.java.awt.peer.gtk.GtkImage.drawImage (GtkImage.java:625)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:239)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:223)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:230)
   at com.ubiserv.service.appmanager.SkinnedButton.paint
(SkinnedButton.java:302)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.paintComponent
(GtkComponentPeer.java:325)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:289)
   at java.awt.Component.dispatchEventImpl (Component.java:4968)
   at java.awt.Component.dispatchEvent (Component.java:2320)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)


and the frame goes away, whereas in the reproducer it stays.


-- 
           Summary: SkinnedButton colormap problem on the Nokia 770/Maemo
           Product: classpath
           Version: 0.90
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: philippe dot laporte at gatespacetelematics dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27118





reply via email to

[Prev in Thread] Current Thread [Next in Thread]