I am showing a frame with a button and a choice. When I click on the choice using left mouse button, the drop-down appears. Once the drop-down is shown, I am clicking on one of the items using middle / right mouse button. The drop-down disappears and an ItemEvent is triggered for the already selected item (not the item that I selected with right button). This is incorrect. ItemEvent should not be triggered when the user does not select anything or selects something with a right/middle mouse button.
This is reproducible only on XToolkit, since Tiger. Not reproducible on Motif or Win32. On Win32, nothing happens when clicking the right button. On Motif, the drop-down disappears but no item event is triggered. Reproducible on Mustang-b26.
I have attached a sample test. Execute the sample test. You would see a choice on a frame. Click on the choice using left button. A drop-down will appear. Click on any of the items using middle/right mouse button. If see an ItemEvent on the console, the bug is reproduced. I tested this on Solaris9-GNOME.
###@###.### 2005-03-13 17:11:56 GMT