-
Notifications
You must be signed in to change notification settings - Fork 168
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
[Sticky Scrolling] Fix separator color on windows #1967
[Sticky Scrolling] Fix separator color on windows #1967
Conversation
@Wittmaxi could you please check if this solves the issue on windows dark theme? If not, I need to set the correct background color for the separator. |
You meant point "1" in #1894 (comment) ? |
Yes, correct. Linking the comment is actually a good idea :) |
Test Results 1 815 files ±0 1 815 suites ±0 1h 35m 51s ⏱️ + 1m 36s For more details on these failures, see this check. Results for commit fc4da2d. ± Comparison against base commit 4888a8c. ♻️ This comment has been updated with latest results. |
Could you try to set the color for both separator in StickyLinesControl line 180: |
@Christopher-Hermann this is precisely what I tried (well, with another color) - it had no effect on the bars for me. |
Okay, damn you SWT :D Then I need to check on my virtual machine if I can reproduce the error to find a solution. |
@Christopher-Hermann Yes, I have had regular issues with SWT in the past - the dark theme seems to be especially prone to bugs and inconsistencies ;_; |
b4ebb20
to
5d9641b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on macOS: Looks good.
I thought that M1 is a milestone without freeze period. Am I wrong? |
I think all our milestones are without freezes these days. @akurtakov can you update us on the latest state of freezing stuff? |
I found one more issue, the CSS Color Engine is overwriting the background color of the separator composite. I need to check how I can disable the CSS Engine for this composite. |
Milestones don't have freezes but there is still the "promotion" day in the calendar (so everyone can see when it is) and the script checking it https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/42b625b2b0e971e1147761a7473e55170a3f5504/.github/workflows/verifyFreezePeriod.yml#L22 doesn't distinguish between M, RC and R promotion thus we end up with this freezes during M promotion days. It would be nice if someone enhances the script to not complain for milestone promotions. |
Create eclipse-platform/eclipse.platform.releng.aggregator#2170 for this. |
We have a css tag for this. See https://www.vogella.com/tutorials/Eclipse4CSS/article.html#ignore-certain-widgets-during-styling |
5d9641b
to
c0fa2b5
Compare
Thanks a lot, this did the trick. |
c0fa2b5
to
acf58b9
Compare
This should be fixed now by @sratz |
The PR is ready for review/merging from my side. |
acf58b9
to
552607a
Compare
...org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/ITextEditorThemeConstants.java
Show resolved
Hide resolved
ad10e6e
to
0992f1d
Compare
...org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/ITextEditorThemeConstants.java
Outdated
Show resolved
Hide resolved
0992f1d
to
43c0bde
Compare
@Christopher-Hermann |
The separator in the sticky lines controls are drawn in a bad color on windows dark theme. With this change, the separator color is aligned with the theme.
43c0bde
to
fc4da2d
Compare
Done. |
failed this as already known in #926 |
The separator in the sticky lines controls are drawn in a bad color on windows dark theme. With this change, the separator color is aligned with the theme.
Current coloring on windows:
How it should look like:
This is a follow up for #1894