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

Apply theme color to status message in FindReplaceDialog #1500

Merged

Conversation

HeikoKlare
Copy link
Contributor

The status shown in the FindReplaceDialog is currently written in red (on input error) or in black. When setting the black font color, it does not consider the theme style applied to the dialog.

With this change, the status message color is properly set to the themed one used by the dialog. When using light theme, nothing changes.

Before:
image

After:
image

Light theme:
image

Copy link
Contributor

github-actions bot commented Jan 15, 2024

Test Results

   902 files  ±0     902 suites  ±0   37m 55s ⏱️ + 2m 18s
 7 473 tests ±0   7 319 ✅ ±0  153 💤 ±0  1 ❌ ±0 
21 991 runs  ±0  21 600 ✅ ±0  390 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit efd5441. ± Comparison against base commit d005f97.

♻️ This comment has been updated with latest results.

@vogella
Copy link
Contributor

vogella commented Jan 15, 2024

LGTM, thanks @HeikoKlare

Heiko, you are our test master, so I assume you know how to handle the failing / removed tests.

@HeikoKlare
Copy link
Contributor Author

Yes, failing tests seem to be random failures as a result of regression tests added with #1132. I'm currently investigating the cause.

@HeikoKlare HeikoKlare force-pushed the findreplace-status-color branch 2 times, most recently from 630ccdd to 7cf11f0 Compare January 15, 2024 20:31
The status shown in the FindReplaceDialog is currently written in red
(on input error) or in black. When setting the black font color, it does
not consider the theme style applied to the dialog.

With this change, the status message color is properly set to the themed
one used by the dialog.
@HeikoKlare HeikoKlare force-pushed the findreplace-status-color branch from 7cf11f0 to efd5441 Compare January 15, 2024 21:37
@AObuchow
Copy link
Contributor

@HeikoKlare just wanted to thank you for working on resolving this, as this bug has been present for many years :)

@HeikoKlare
Copy link
Contributor Author

Thanks for the pointer, @AObuchow! Then this should also solve the downstream theme issue 🙂

I have also verified that nothing breaks on Linux (on which theming the message has properly worked before, as also noted in AObuchow/Eclipse-Spectrum-Theme#36).

image

Test failures have been resolved and the remaining failure is an independent, random fail documented in #1183

@HeikoKlare HeikoKlare merged commit de28686 into eclipse-platform:master Jan 16, 2024
14 of 16 checks passed
@HeikoKlare HeikoKlare deleted the findreplace-status-color branch January 16, 2024 07:08
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.

4 participants