-
Notifications
You must be signed in to change notification settings - Fork 188
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
Light (Preview) Theme: Issues in Progress View #2313
Comments
I'm working on this.
|
Great. You are some of the students from CodeDays, aren't you? Much success on this task and don't hesitate to ask for help if you need any. |
To get started, I replicated the issue and observed how the background color of this progress bar is rendered in different themes. The color is consistent for all other themes, except the light preview. Based on the keywords, using the global search tool, I searched for Although I could not develop a full solution with my team, I suspect the problem is that not all relevant components of the progress item are synced in the light preview theme. Upon closer inspection of the function My hypothesis is to remove the condition My next step is to check how the condition The following commit seems to fix the issue, however, I have yet to submit a pull request. Do you have any suggestions? |
So this basically boils down to: "Do that extras stuff if the currently selected theme is the dark theme (as the only theme != default used to be the dark theme)". So the issue only happens because the "Light (Preview)" theme is not the "Light" theme (the have a different key). Once we copy the content of the "Light (Preview)" theme to the "Light" theme (and remove the "Light (Preview) theme the issue no longer appears. But anyway the current implementation assumes that there are basically two themes - the light and the dark theme. As this might not be true any more in the future it would be better to change this to a more robust solution. So in the current implementation (without #2485 applied) the block
is only executed when the light theme is selected. Correct? |
Without the fixes,
then
So the When I removed When I just removed the
I'm not sure how to create a more robust solution that does not explicitly check for the dark theme in |
See the discussion summarizing the work done : eclipse-ide/contributing#3 |
Steps to reproduce
From a fresh installation and clean workspace:
I tried
But got:
With the "Light" Theme this looks like this:
I expected that the texts like "Building" don't have a white background but simply use the same background as the parent (the light grey color)
Tested under this environment:
Community
@mvm-sap: Can you pls. have a look?
The text was updated successfully, but these errors were encountered: