Bug 305690 - Behaviour of mouse events when Control has popup (context) menu set
Summary: Behaviour of mouse events when Control has popup (context) menu set
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 09:59 EST by Alexander Mitin CLA
Modified: 2019-09-06 16:04 EDT (History)
1 user (show)

See Also:


Attachments
Sample code (1.34 KB, text/plain)
2010-03-12 10:00 EST, Alexander Mitin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.