Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6663063

Run FileChooserDemo generate some fail errors with GTK L&F in the terminal in Ubuntu

    Details

      Description

      Java Version: OpenJDK1.6.0-ea-b05, jdk_10-ea-b11
      Platform: Ubuntu8.04alpha4 hostname: peas.sfbay

      Problems:
      When luanch the FileChooserDemo, when you select GTK looks and Feel, the others are as default, then you click Show FileChooser, you can see in the terminal, it has lost message saying fail.
      The output as following:
      $ bin/java -jar demo/jfc/FileChooserDemo/*.jar

      (<unknown>:12752): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

      (<unknown>:12752): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

      (<unknown>:12752): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

      (<unknown>:12752): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peterz Peter Zhelezniakov (Inactive)
                Reporter:
                ttzhang Tao Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: