Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 247857

Summary: SuSE Linux: selecting the only item or same item in combo does not trigger widgetSelected()
Product: [Eclipse Project] Platform Reporter: angelr
Component: SWTAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: ericwill, gheorghe, pinnamur, raji
Version: 3.2.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description angelr CLA 2008-09-18 13:22:36 EDT
Build ID: M20070212-1330

Steps To Reproduce:
1. This happens on SLED 10 Linux with Eclipse 3.2.2. 
create a combo with only one item and add a selection listener like below:

myCombo.addSelectionListener( new SelectionAdapter(){
            public void widgetSelected(SelectionEvent e) {
               //DO something
            }
        });      
  
2. Selecting the only item in the combo and widgetSelected() is not triggered.

3. If the combo has more than 1 items, selecting the same (previously selected) item will not trigger widgetSelected() too.


More information:
Comment 1 Praveen CLA 2009-01-05 00:56:33 EST
This is probably a duplicate of bug 224837
Comment 2 Eric Williams CLA 2018-04-10 15:25:21 EDT
SLED 10 is no longer a supported environment, please re-open this ticket if the issue persists on GTK3.22 and a 4.8 I-build.