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

pressing pg-up / pg-down on AWT list selects the items but no item event is triggered, on XToolkit

XMLWordPrintable

    • b33
    • sparc
    • solaris_9
    • Verified

      I have a multiple selection list in a frame. When the frame comes up, I am pressing pg-up / pg-down keys when List has focus.

      1. On XToolkit, this actually moves the cursor to the top / bottom and the corresponding items are being selected. First of all I am not sure whether this is the right behavior. The user is pressing those keys just to navigate through the items and not to select them. On motif, items are not getting selected.

      2. When items get selected by pressing the above set of keys, item event is not triggered for any of those items. This is incorrect.

      Either prevent the item selection or trigger an item event for each of the selected items.

      This is reproducible on Solaris / linux only with XToolkit and not on Motif. This is reproducible on Tiger as well as mustang.

      I have attached a sample test. Execute the test. You would see a frame with a list. Make sure list has focus. Press 'pg+up' or 'pg+down' keys. If the cursor moves up / down and respective items being selected with triggering an item event on the console, the bug is reproduced.
      ###@###.### 11/4/04 15:51 GMT

            dcherepanov Dmitry Cherepanov
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: