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

Background Colors in History Page could be improved for Platforms "Light (Preview)" theme #57

Open
BeckerWdf opened this issue Sep 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@BeckerWdf
Copy link
Contributor

Version

7.0.0

Operating System

MacOS

Eclipse version

2023-09

Bug description

Platform currently is improving their light theme. This is not yet finished but already available as a separate "Preview" theme called "Light (Preview)".
The main idea of the theme changes are to only have the editor in a bright white background but all the other views around it in background that is "dimmed" a bit. For more details see: eclipse-platform/eclipse.platform.ui#2114

Actual behavior

With this theme enabled the egit history page now looks like this:
image

Expected behavior

I am wondering if the "styled text" should fill up the complete area of the scrolled composite. This could be a bug that was not visible up to now because the background color of the "styled text" and the "scrolled composite" have been identical.

Relevant log output

No response

Other information

No response

@BeckerWdf BeckerWdf added the bug Something isn't working label Sep 24, 2024
@tomaswolf
Copy link
Contributor

The tree on the right (yellow border in your screenshot) has background-color: inherit. Apparently Platform is only dimming certain controls.

On the left: apparently Platform changes the background of StyledText in views. We do programmatically set the background of the scrolled composite to that of the viewer.

I don't think this "dimming" is a good idea at all; note that the gray header lines now have a low contrast. (And the same for the file tree view on the right; it also shows sometimes file names in gray.) This all worked well with the normal white backgrounds, but now it may no longer be good. So more changes would be needed.

As for the source viewer not taking the whole area: looks a bit strange (is the source viewer even cut off at the right?). But it's possible that the viewer does not grab all available space.

Note that any changes must work well not only for this newfangled new theme but also for the old (current) one.

@BeckerWdf
Copy link
Contributor Author

Note that any changes must work well not only for this newfangled new theme but also for the old (current) one.

The plan is that the "Light (Preview)" theme replaces the current "Light" theme once we have ironed out major issues of it.

@tomaswolf
Copy link
Contributor

Note that any changes must work well not only for this newfangled new theme but also for the old (current) one.

The plan is that the "Light (Preview)" theme replaces the current "Light" theme once we have ironed out major issues of it.

Doesn't matter. EGit is supposed to also work on older Eclipses. Any change must work well with both.

@Bananeweizen
Copy link
Contributor

Side tracking: Is there an issue for the Light theme to be discussed? IMO making everything gray on gray is a usability disaster. I don't know why more and more tools come with themes that have far less contrast and shapes than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants