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

GTK L&F causes warnings: Binding specification is unsupported, ignoring

XMLWordPrintable

      ===============================================================
      OS : Solaris9 Sparc/Solaris10 Sparc on which Gnome2.0 is installed
      WM : Gnome2.0, CDE
      JDK: Mantis b14, b15
           *Trying the test with b11, this is reproducible, too.
      ===============================================================

      Selecting GTK L&F on SwingSet2 demo, you can see the messages below are displyaed on the terminal.

      ../gtk-2.0-key/gtkrc:6: Binding specification is unsupported, ignoring
      ../gtk-2.0-key/gtkrc:14: Binding specification is unsupported, ignoring
      ../gtk-2.0-key/gtkrc:16: Binding assignment is unsupported, ignoring
      ../gtk-2.0-key/gtkrc:17: Binding assignment is unsupported, ignoring
      ../gtk-2.0-key/gtkrc:18: Binding assignment is unsupported, ignoring

      To reproduce,
      1)Launch SwingSet2 demo on either of Gnome or CDE.
      2)Select GTK L&F, then you can see the messages.

      [Note]**********************************************************************
      Trying the test on other Solaris9 with CDE, on which Gnome is not installed, this problem is not reproducible.
      ****************************************************************************


      - S10 and S9 machines on which Gnome2.0 is insatlled 2 gtkrc files as below;

           /usr/themes/Default/gtk-2.0-key/gtkrc
                                  /gtk-2.0/gtkrc
      ==============================================================
      1) /usr/themes/Default/gtk-2.0/gtkrc :
      #
      # This theme is the default theme if no other theme is selected.
      #
      include "../gtk-2.0-key/gtkrc"
      ==============================================================

      2) /usr/themes/Default/gtk-2.0-key/gtkrc :
      binding "sun-text-entry"
      {
        bind "F20" { "cut-clipboard" () }
        bind "F18" { "paste-clipboard" () }
        bind "F16" { "copy-clipboard" () }
      }

      #
      # Bindings for GtkTreeView
      #
      binding "sun-tree-view"
      {
        bind "F19" { "start-interactive-search" () }
      }

      class "GtkEntry" binding "sun-text-entry"
      class "GtkTextView" binding "sun-text-entry"
      class "GtkTreeView" binding "sun-tree-view"
      ==============================================================

      Warning messages seem to say the instructions which are described in gtk-2.0-key/gtkrc are unsupported.


      - Trying this test on RedHat8.0, this problem is not reproducible.

      -------------------------------------------------------------------------

      This is reproducible not only on ja locale, but also C locale.

      ###@###.### 2003-02-06

      -------------------------------------------------------------------------
      ###@###.### 10/13/04 18:54 GMT

            shickeysunw Shannon Hickey (Inactive)
            mtokunagsunw Miki Tokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: