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

Recent changes to UI Themes have broken Table rendering on Mac #2171

Closed
Phillipus opened this issue Aug 7, 2024 · 11 comments
Closed

Recent changes to UI Themes have broken Table rendering on Mac #2171

Phillipus opened this issue Aug 7, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@Phillipus
Copy link
Contributor

Phillipus commented Aug 7, 2024

Tested with eclipse-SDK-I20240807-0710-macosx-cocoa-aarch64 on macOS Sonoma 14.6

On Mac, tables should have alternate row colors like this (screenshot from Eclipse 4.32):

eclipse 4 32

The recent changes to the light theme now render a table like this:

eclispe 4 33

Alternate row colors on Mac is a feature (and a useful one, at that) that has always been in Eclipse and is present in many native Mac apps.

@Phillipus Phillipus added the bug Something isn't working label Aug 7, 2024
@Phillipus
Copy link
Contributor Author

In fact, the alternate row colors are present in the latest dark theme:

eclipse 4 33 dark

@BeckerWdf
Copy link
Contributor

We did this change by intention and already tested this in-house our company. We did not get bad feedback about this.
I propose we keep it like it is for this release. Let's keep that issue open. If we get more comments that this was a bad decision we can revert that change for the next release.
What do yo think @Phillipus?

@Phillipus
Copy link
Contributor Author

Phillipus commented Aug 12, 2024

What do yo think @Phillipus?

  • I think that the loss of alternate row colours in a table is an ill-advised change for Mac users. This is something that exists in many Mac apps and has existed in Eclipse for a long time now and you may find a backlash from the broader Mac community after 4.33. I would definitely say this particular change is not a good idea.

  • Generally, when you say "We did not get bad feedback about this" you might be making this judgement based on how these changes to the light theme impact the Eclipse IDE. Many RCP apps are built on the latest version of Eclipse and the UI of these apps will change if they adopt this light theme. I've already pointed out a side-effect of this here. As I said elsewhere, there's a big difference between "make this view grey" and "make all controls in every view grey". Eclipse IDE users might be OK with the change but this has impact on RCP apps (and Eclipse plug-ins)

  • Personally, I don't mind seeing a grey Package Explorer in Eclipse but I do mind seeing a homogenous mass of grey for all views and controls in our RCP app (I applied the new theme for testing purposes).

@BeckerWdf
Copy link
Contributor

This should be fixed with #2181. If not pls. re-open.

@Phillipus
Copy link
Contributor Author

This should be fixed with #2181. If not pls. re-open.

Yes, it is. Thanks!

@Phillipus
Copy link
Contributor Author

Phillipus commented Sep 23, 2024

I tested with I20240923-0040 and the tables on Mac have again lost alternate row colors and are a homogenous grey. Did something change?

Edit - ignore. See below.

@mvm-sap
Copy link
Contributor

mvm-sap commented Sep 23, 2024

@Phillipus we had reverted the changes that we had done for Table control. Table control no longer has a grey background. I think you are referring to Views which have Tree control. we have set the background of Tree Control to grey. Could you please re-check and confirm

@Phillipus
Copy link
Contributor Author

@Phillipus we had reverted the changes that we had done for Table control. Table control no longer has a grey background. I think you are referring to Views which have Tree control. we have set the background of Tree Control to grey. Could you please re-check and confirm

You're right. I'd forgotten that it was applied to Trees only. Sorry for the noise!

@BeckerWdf
Copy link
Contributor

@Phillipus we had reverted the changes that we had done for Table control. Table control no longer has a grey background. I think you are referring to Views which have Tree control. we have set the background of Tree Control to grey. Could you please re-check and confirm

You're right. I'd forgotten that it was applied to Trees only. Sorry for the noise!

Show we also apply it for tables?

@Phillipus
Copy link
Contributor Author

Show we also apply it for tables?

Not really. The original issue is that native Mac UI has alternate row coloring in tables and to keep it that way.

@Phillipus
Copy link
Contributor Author

Phillipus commented Oct 12, 2024

Actually, I was wrong about this, this issue applies to a Table and a Tree control. The "Problems" view contains a Tree (with lines visible), not a Table.

When a Table or Tree has lines visible (Control#setLinesVisible(true)) on Mac alternate row colors are displayed. So, the new light theme is hiding the alternate row colors on Mac on both controls.

Opened #2395

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