Bug 281966 - [CommonNavigator] Project Explorer Select All (CTRL A) bug
Summary: [CommonNavigator] Project Explorer Select All (CTRL A) bug
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 minor with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 314092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-30 04:46 EDT by David CLA
Modified: 2020-06-30 08:37 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David CLA 2009-06-30 04:46:58 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1.In Project Explorer Press CTRL + A
2.Hit the right mouse button for the menu
3.Nothing happens!


More information:
The context menu (Right mouse click) is not appearing when all projects are selected via CTRL + A.
Comment 1 Francis Upton IV CLA 2010-03-11 20:55:44 EST
This only happens when a project has been open so that members of the project are also selected.

Verified to still be a problem in 3.6M6.
Comment 2 Paul Webster CLA 2010-03-12 08:38:43 EST
I'm not sure what actions the project explorer adds itself, but I can tell you that you will not get any objectContributions in that case.  objectContributions are designed to appear when all selected elements are of the same type.

PW
Comment 3 Francis Upton IV CLA 2010-03-12 11:34:09 EST
(In reply to comment #2)
> I'm not sure what actions the project explorer adds itself, but I can tell you
> that you will not get any objectContributions in that case. 
> objectContributions are designed to appear when all selected elements are of
> the same type.
The CNF adds all of the actions using it's own mechanism of action providers. Also, the package explorer seems to do this right, they have a lot of the actions that don't depend on specific object (like Import/Export, etc)
Comment 4 Dani Megert CLA 2010-05-24 06:27:00 EDT
*** Bug 314092 has been marked as a duplicate of this bug. ***
Comment 5 David Balažic CLA 2014-07-15 09:15:26 EDT
Not exactly the same, but the duplicate is almost, so I'll write here:

Eclipse Java EE IDE for Web Developers.
Version: Luna Release (4.4.0)
Build id: 20140612-0600

On Windows 7 Pro SP1 64 bit
java.runtime.version=1.7.0_55-b13

Selecting on project then pressing ctrl-a in Prject Explorer does nothing.
Expected: all items are selected
Comment 6 David Balažic CLA 2014-07-15 09:26:21 EDT
My issue turns out to be bug 328739.

Typo fixed version of my description:

Selecting one project then pressing ctrl-a in Project Explorer does nothing.
To be more exact: selecting a non-Java project then pressing ctrl-a.

Sorry for bugspam.
Comment 7 Eclipse Genie CLA 2020-06-29 19:22:45 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.
Comment 8 Dennis Hendriks CLA 2020-06-30 03:45:25 EDT
I've re-checked this in Eclipse IDE 2020-06. The right click menu does show now. What appears in the menu depends on what is selected (one project, multiple projects, files, 'JRE System Library', etc). In that sense one could consider the issue resolved.

However, comparing the Package Explorer to the Project Explorer, the latter still shows significantly more items in the right click menu then the former. It seems to me like the conditions to show items in the right click menu are more strict for the Project Explorer than the Package Explorer. In that sense the underlying problem may not be resolved yet.

I see the following options:

1. Close this issue, as the reported issue seems resolved.

2. Ensure the Project Explorer has same/similar conditions/functionality to the Package Explorer, to solve the underlying issue for the Project Explorer and the Package Explorer only.

3. Get rid of the whole idea of multiple explorers, ensure there is only one explorer view, and ensure all projects contribute to the one explorer. The idea of having a Project Explorer (generic), Package Explorer (Java), Model Explorer (Sirius), with all similar functionality but subtle differences seems like a bad idea in general. This would solve the issues once and for all.

What do others think?
Comment 9 David Balažic CLA 2020-06-30 08:37:47 EDT
A few clarifications:

1.)ctrl-A in Project Explorer works very unreliably, in my workspace open in:

Eclipse IDE for Enterprise Java Developers.

Version: 2020-03 (4.15.0)
Build id: 20200313-1211


it works sporadically.

In:
Eclipse IDE for Enterprise Java Developers (includes Incubating components)

Version: 2020-06 (4.16.0)
Build id: 20200615-1200

(another workspace)

it never works. At least I could not make it work. Nothing happens when I press ctrl-A in Project Explorer.


2.) In eclipse 4.15 the right click menu appears, unless the "JSR-109 Web Services" is also selected. Then there is no menu. (I don't use this project, it is empty, only has two empty subfolders: Clients and Services; it appeared automatically in my workspace)