Skip to content

CCE on selecting "Show remaining..." in JUnit view #1361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

iloveeclipse
Copy link
Member

CCE happens because we always select expandable node on click and because the JUnit related selection listener code queries the selection from the widget instead of using selection from selection event while reacting on selection change. This is unusual, but allowed.

However, setting selection in first place is actually not needed, the only reason to do so was to reveal last element after expanding, so that user can simply click few times if needed. Revealing shown items however can be done without selection, so we don't run in such corner cases here.

Fixes #1360

CCE happens because we always select expandable node on click and
because the JUnit related selection listener code queries the selection
from the widget instead of using selection from selection event while
reacting on selection change. This is unusual, but allowed.

However, setting selection in first place is actually not needed, the
only reason to do so was to reveal last element after expanding, so that
user can simply click few times if needed. Revealing shown items however
can be done without selection, so we don't run in such corner cases
here.

Fixes eclipse-platform#1360
@iloveeclipse
Copy link
Member Author

19 Test fails are unrelated, see #1351

Copy link
Contributor

github-actions bot commented Dec 3, 2023

Test Results

     900 files  ±0       900 suites  ±0   1h 8m 29s ⏱️ + 23m 38s
  7 468 tests ±0    7 296 ✔️ ±0  153 💤 ±0  15 ±0  4 🔥 ±0 
23 553 runs  ±0  23 025 ✔️ ±0  509 💤 ±0  15 ±0  4 🔥 ±0 

For more details on these failures and errors, see this check.

Results for commit 62244e0. ± Comparison against base commit 43161a6.

@iloveeclipse iloveeclipse merged commit a984db2 into eclipse-platform:master Dec 3, 2023
@iloveeclipse iloveeclipse deleted the issue_1360 branch December 3, 2023 10:48
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.

CCE on selecting "Show remaining..." in JUnit view
1 participant