Skip to content

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented Nov 3, 2025

Currently if one select in Project Explorer to display projects not only flat but hierarchical and choose the "Problems on selected Project" filtering (but other filters are affected as well) the following happens:

  • We have Project P with nested projects X, Y, Z
  • Y has a compile problem and X has warnings
  • Now P shows a red icon because it has problems of type error inherited
  • I select P but Problems View remains empty
  • One has to first expand P, then locate Y and select it
  • To see the warning I have to locate X and select it

so there is an inconsistency (P shows problems icon but problems view is empty) and an inconvenience (I need to select individual childs to see all problems/warnings on a parent of nested projects).

This now enhances the ExtendedMarkersView by a method isProjectNestingActive (returns false by default) to allow view extensions to decide if they want to enable discovery of nested projects or not. The ProblemsView is further enhanced to detect the situation and returns true for this particular case.

See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=573535

Before

grafik

After

grafik

Currently if one select in Project Explorer to display projects not only
flat but hierarchical and choose the "Problems on selected Project"
filtering (but other filters are affected as well) the following
happens:

- We have Project P with nested projects X, Y, Z
- Y has a compile problem and X has warnings
- Now P shows a red icon because it has problems of type error inherited
- I select P but Problems View remains empty
- One has to first expand P, then locate Y and select it
- To see the warning I have to locate X and select it

so there is an inconsistency (P shows problems icon but problems view is
empty) and an inconvenience (I need to select individual childs to see
all problems/warnings).

This now enhances the ExtendedMarkersView by a method
isProjectNestingActive (returns false by default) to allow view
extensions to decide if they want to enable discovery of nested projects
or not. The ProblemsView is further enhanced to detect the situation and
returns true for this particular case.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Test Results

 3 018 files  ±0   3 018 suites  ±0   2h 23m 8s ⏱️ +4s
 8 234 tests ±0   7 984 ✅  - 1  249 💤 ±0  1 ❌ +1 
23 622 runs  ±0  22 827 ✅  - 1  794 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit a27d923. ± Comparison against base commit 3a441d9.

@laeubi laeubi merged commit b268531 into eclipse-platform:master Nov 3, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant