Bug 305690

Summary: Behaviour of mouse events when Control has popup (context) menu set
Product: [Eclipse Project] Platform Reporter: Alexander Mitin <diam>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Konstantin.Scheglov
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Sample code none

Description Alexander Mitin CLA 2010-03-12 09:59:39 EST
Build Identifier: M20090917-0800, I20100310-1300

Consider Control with context menu and mouse listener set. Let's see which mouse events produced when we do a right-click on the Control using different OSes:

Windows:
Mouse down, then mouse up.

Linux:
Mouse down

Mac OSX Cocoa:
Mouse down

Which behaviour is right and why it differs in Windows?

Reproducible: Always

Steps to Reproduce:
1. Create Shell.
2. Add context menu to the Shell, add some items into the menu.
3. Add mouse listener to the Shell, print mouse events.
Comment 1 Alexander Mitin CLA 2010-03-12 10:00:59 EST
Created attachment 161885 [details]
Sample code
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:04:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.