Bug 577384

Summary: Combo composite doesn't detect mouse clicks
Product: [Eclipse Project] Platform Reporter: Frederic Bard <bardfrederic>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: bardfrederic
Version: 4.21   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Frederic Bard CLA 2021-11-20 22:49:09 EST
Greetings,

I have found that when using the Combo composite (https://javadoc.scijava.org/Eclipse/org/eclipse/swt/widgets/Combo.html) under Linux, clicking (and double clicking) on an entry of the combo is not a detected event. However, if I select the item with the keyboard, the event is detected.

I have created a snippet to reproduce this issue on LINUX that you can clone from here : https://gitlab.com/fjbdev/SWTIssue/-/tree/comboissue

You will be able to see that if you click on any "Entry*", no output will be seen in the console.
However, if you select any "Entry*" with the keyboard, the output will appear correctly (i.e. the event has happened and "in addKeyListener" will be printed in the console)


My Linux Specs :
Debian 11, Cinnamon Desktop

Let me know if you need more information 

Thanks
Frederic
Comment 1 Frederic Bard CLA 2021-11-20 22:59:39 EST
I take that back, it also happens on Windows 10