Edit/"Select All" Menu item disabled with single project selected in Project Explorer
Let's make sure issue is not already fixed in latest builds first.
- [X] I verified I can reproduce this issue against latest Integration Build of Eclipse SDK
Steps to reproduce
From a fresh installation and clean workspace:
- Create two or more projects
- In Project Explorer, click on a project
- Click on "Edit" menu: the "Select All" item is disabled (it should be enabled), and CTRL+A has no effect (it should select all projects)
- In Project Explorer, click on another project (or click again on the same project)
- Click again on the "Edit" menu: the "Select All" item is enabled, and CTRL+A works as expected (but it should have worked at step 2)
Tested under this environment:
- OS & version: Windows 10
- Eclipse IDE/Platform version (as shown in Help > About): Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2024-12 (4.34.0) Build id: 20241128-0757
Community
- [x] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
I tried on below version of eclipse and everything works fine for me. Eclipse Platform Version: 2025-03 (4.35) Build id: I20250123-1800 OS: Windows 10, v.10.0, x86_64 / win32 Java vendor: Eclipse Adoptium Java runtime version: 21.0.6+7-LTS Java version: 21.0.6
I have also tried on below version and it is working.
Eclipse SDK Version: 2025-03 (4.35) Build id: I20250122-1800 OS: Windows 11, v.10.0, x86_64 / win32 Java vendor: Eclipse Adoptium Java runtime version: 23.0.1+11 Java version: 23.0.1
Tried on 2025-03, problem persists; it's specific of Project Explorer, I've also tried Package Explorer and it works correctly.
Hey Hi, You are right "Project Explorer" - i see the problem persists.
One more observation : Once "select all" is enabled and i go back to create a new java project and just delete the default "module-info.java" file created in that simple java project. This is just to ensure nothing in "Project Explorer" selected. Then again in "Project Explorer" when you select the first project you can see "select all" is disabled. Your click on other project which is 2nd selection "select all" is enabled.
So basically every first selection in "Project Explorer" - "select all" is disabled.
I tried on below environment. Eclipse SDK Version: 2025-03 (4.35) Build id: I20250202-1800 OS: Windows 11, v.10.0, x86_64 / win32 Java vendor: Eclipse Adoptium Java runtime version: 23.0.1+11 Java version: 23.0.1
@dnapoletanoexp On the latest version(as detailed below), i am not able to reproduce the problem in Project Explorer following the above steps itself. Can you check the same and let us know please? If you are still facing the problem on latest, can you give us step by step way so that we can follow the same and take it forward.
Eclipse SDK Version: 2025-06 (4.36) Build id: I20250331-1800 OS: Windows 11, v.10.0, x86_64 / win32 Java vendor: Eclipse Adoptium Java runtime version: 23.0.1+11 Java version: 23.0.1
Latest version is 2025-03, in which the problem persists; where can I download 2025-06?
2025-06 i.e., 4.36 is still in development phase and the latest I build(I20250331-1800 as of now) of it can be downloaded from https://download.eclipse.org/eclipse/downloads/
Downloaded Eclipse SDK, Windows (x86 64-bit) from here:
https://download.eclipse.org/eclipse/downloads/drops4/I20250331-1800/
Problem persists:
- Started with an empty workspace, opened Project Explorer, closed Package Explorer
- Created three Java projects: testproj1, testproj2, testproj3
- Closed and reopened Eclipse
- Clicked on testproj1
- Pressed CTRL + A: nothing happens
- Clicked on testproj3
- Pressed CTRL + A: all projects are selected
Expected behaviour is: at step 5, all projects are selected
Thanks alot for the detailed recreate steps. I am able to recreate the problem following your steps.