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

XAWT: disabling lightweight container disabled heavyweight children

XMLWordPrintable

    • b33
    • generic
    • generic
    • Verified

      Run the attached test case on Windows/Motif/XAWT. It produces output - disability matrix, I present it here:

      Legend: PLW - "parent lightweight?", PEN - "parent enabled", CEN -
      "child enabled"

      XAWT:
      PLW PEN CEN Mouse Key
      hw en en t t
      hw en dis f f
      hw dis en f f
      hw dis dis f f
      lw en en t t
      lw en dis f f
      lw dis en f f
      lw dis dis f f

      Motif:
      PLW PEN CEN Mouse Key
      hw en en t t
      hw en dis f f
      hw dis en f f
      hw dis dis f f
      lw en en t t
      lw en dis f f
      lw dis en t t
      lw dis dis f f

      Windows:
      PLW PEN CEN Mouse Key
      hw en en t t
      hw en dis f f
      hw dis en f f
      hw dis dis f f
      lw en en t t
      lw en dis f f
      lw dis en t t
      lw dis dis f f

      Notice the difference between XAWT and Motif/Windows behavior - it shows that on XAWT disabling lightweight container makes heavyweight children also disabled. This is a backward-incompatible change.
      ###@###.### 10/11/04 12:23 GMT

            dcherepanov Dmitry Cherepanov
            dmikhalksunw Denis Mikhalkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: