Project: SWT
Bug 42867 Combo - Custom PopUp not displayed properly
Reported: 2003-09-10 09:29:45 | Status: resolved fixed

I created a SWT Combo within an Eclipse View and set its popup menu. Now, when I right click on the Combo's text field I don't see my menu, but the native systems one (Copy/Paste/Cut ...). When I try not to click right on the Combo's text field directly, a little bit below it but still within the Combo Widget, I see my menu popping up. cmb_RegExp = new Combo(parent, SWT.DROP_DOWN); cmb_RegExp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Menu men=new Menu(cmb_RegExp); cmb_RegExp.setMenu(men); ...

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java