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

List does not trigger ActionEvent when double clicking a programmatically selected item, XToolkit

XMLWordPrintable

    • b33
    • x86
    • linux_redhat_9.0
    • Verified

      I have a frame with a List. I have set one of the items as selected programmatically before the list is shown to the user. Once the frame comes up, I am double clicking the mouse on the already selected item and I expect the list to trigger an ActionEvent. But it does not trigger in case of XToolkit. But it works fine when I double-click some other item. This is seen only when the frame comes up initially and the user double clicking on the programmatically selected item.

      This is not reproducible on win32. This is reproducible on Solaris/Linux with XToolkit. Not reprodcubile on Motif.

      I have attached a sample test. Execute the sample test on XToolkit. You would see a frame with a List. Item 'Mohan' will be shown as selected. Now double click on the same item. If you don't see any action event on the console, the bug is reproduced.
      ###@###.### 11/4/04 15:03 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: