Skip to content
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

Ensure that colors from registry are not null #1958

Conversation

Christopher-Hermann
Copy link
Contributor

The workbench colors will not always be initialized in the JFace area, for example if the workbench is not started. To make sure there are no NPE, the system colors are used as default.

Fixes #1955, eclipse-platform/eclipse.platform.swt#1275

The workbench colors will not always be initialized in the JFace area, for example if the workbench is not started. To make sure there are no NPE, the system colors are used as default.

Fixes eclipse-platform#1955, eclipse-platform/eclipse.platform.swt#1275
@fedejeanne
Copy link
Contributor

Maybe @iloveeclipse can take a look in Linux?

@iloveeclipse
Copy link
Member

Maybe @iloveeclipse can take a look in Linux?

I can't currently start debugger due some obscure EMF problems. I will check once I've sorted out my EMF issue.

Copy link
Contributor

Test Results

  605 files   -   605    605 suites   - 605   39m 31s ⏱️ - 12m 50s
7 664 tests ±    0  7 384 ✅  -    52  278 💤 + 50  2 ❌ +2 
8 051 runs   - 8 051  7 769 ✅  - 7 864  280 💤  - 189  2 ❌ +2 

For more details on these failures, see this check.

Results for commit 5f190d9. ± Comparison against base commit 521543f.

This pull request skips 50 tests.
UiTestSuite org.eclipse.ui.tests.api.ApiTestSuite org.eclipse.ui.tests.api.WorkbenchPluginTest ‑ testGetImageRegistryFromAdditionalDisplay
UiTestSuite org.eclipse.ui.tests.internal.InternalTestSuite org.eclipse.ui.tests.internal.TextHandlerTest ‑ testEditableText
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePartAndPerspective
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePartAndPerspectiveAndWindow
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePartAndWindow
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePartOnly
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePerspectiveAndWindow
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInActivePerspectiveOnly
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerInWindowOnly
org.eclipse.e4.ui.tests.workbench.HandlerActivationTest ‑ testHandlerSwitchToInactivePart
…

@iloveeclipse
Copy link
Member

This doesn't fix #1956 unfortunately.

@Christopher-Hermann
Copy link
Contributor Author

This doesn't fix #1956 unfortunately.

Yes, for #1956 I need to dig into it further. Maybe it's better to revert the change if this is possible?

@iloveeclipse
Copy link
Member

Maybe @iloveeclipse can take a look in Linux?

Still broken, see comments on #1956

@iloveeclipse
Copy link
Member

Maybe it's better to revert the change if this is possible?

See comments on #1957.
If you can't fix all my issues today, we will revert.

@Christopher-Hermann Christopher-Hermann deleted the fix_selection_color branch June 13, 2024 08:57
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.

plenty test failure in ColumnViewerSelectionColorListener.handleEvent
3 participants