Bug 271750 - [Contributions] Right-click opens wrong context menu under certain circumstances
Summary: [Contributions] Right-click opens wrong context menu under certain circumstances
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 06:04 EDT by Tobias Hahn CLA
Modified: 2023-03-04 06:26 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Hahn CLA 2009-04-09 06:04:54 EDT
Build ID: I20090313-0100

Steps To Reproduce:
1. Create a new hello world java project.
2. In the Package Explorer, left-click the little triangle next to "HelloWorld".
3. Right-click on "HelloWorld" to see its context menu. It should contain an entry "Close Project".
4. Right-click on "src".
  - Expected: the context menu of a source folder, which does not contain "Close Project".
  - Actually: the context menu of a Java Project, which contains "Close Project". (Clicking on "Close Project" has no effect since "src" is not a project).
5. Left-click on "src", then right-click on "src": The correct context menu appears.
6. Right-click on "Hello World".
  - Expected: The context menu of a Java Project, which contains "Close Project".
  - Actually: The context menu of a source folder, which does not contain "Close Project".


More information:
It seems as if the context menu Eclipse shows depends on the widget which received the last left-click. This is also a workaround whenever the wrong context menu appears, i.e. left-click then right-click shows the correct context menu.

The above steps are only one example of this bug, you can get the same for instance when right-clicking on a resource under version control and right-clicking on a resource not under version control. In this case, the Team menu should show up whenever the resource is under version control, however, it actually shows up depending on whether the last resource which was left-clicked is under version control.
Comment 1 Mike Wilson CLA 2009-05-05 14:28:53 EDT
Changing Version tag to something more believable.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:18:47 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.
Comment 3 Mark Lawrence CLA 2023-03-04 06:26:11 EST
I am seeing this in Photon on MacOS Ventura.

was there ever a fix made for this?