eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

Edit/"Select All" Menu item disabled with single project selected in Project Explorer

Open dnapoletanoexp opened this issue 11 months ago • 9 comments

Let's make sure issue is not already fixed in latest builds first.

Steps to reproduce

From a fresh installation and clean workspace:

  1. Create two or more projects
  2. In Project Explorer, click on a project
  3. 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)
  4. In Project Explorer, click on another project (or click again on the same project)
  5. 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.

dnapoletanoexp avatar Jan 20 '25 10:01 dnapoletanoexp

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

deepika-u avatar Jan 24 '25 08:01 deepika-u

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

deepika-u avatar Jan 24 '25 08:01 deepika-u

Tried on 2025-03, problem persists; it's specific of Project Explorer, I've also tried Package Explorer and it works correctly.

dnapoletanoexp avatar Jan 24 '25 08:01 dnapoletanoexp

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

deepika-u avatar Feb 03 '25 07:02 deepika-u

@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

deepika-u avatar Apr 01 '25 10:04 deepika-u

Latest version is 2025-03, in which the problem persists; where can I download 2025-06?

dnapoletanoexp avatar Apr 01 '25 10:04 dnapoletanoexp

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/

deepika-u avatar Apr 01 '25 11:04 deepika-u

Downloaded Eclipse SDK, Windows (x86 64-bit) from here:

https://download.eclipse.org/eclipse/downloads/drops4/I20250331-1800/

Problem persists:

  1. Started with an empty workspace, opened Project Explorer, closed Package Explorer
  2. Created three Java projects: testproj1, testproj2, testproj3
  3. Closed and reopened Eclipse
  4. Clicked on testproj1
  5. Pressed CTRL + A: nothing happens
  6. Clicked on testproj3
  7. Pressed CTRL + A: all projects are selected

Expected behaviour is: at step 5, all projects are selected

dnapoletanoexp avatar Apr 01 '25 12:04 dnapoletanoexp

Thanks alot for the detailed recreate steps. I am able to recreate the problem following your steps.

deepika-u avatar Apr 02 '25 06:04 deepika-u