Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundles/org.eclipse.ui.editors/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@
id="org.eclipse.ui.editors.lineNumberRulerColor"
isEditable="false"
label="%dummy"
value="120,120,120">
value="115,115,115">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we instead use a default system color constant instead, like COLOR_WIDGET_NORMAL_SHADOW_RGBA ? The OS usually makes good choice regarding accessibility. Relying on them by default would probably prevent current, and future, trouble.

Copy link
Copy Markdown
Member Author

@BeckerWdf BeckerWdf Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the value of COLOR_WIDGET_NORMAL_SHADOW_RGBA on the different OSes?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value depends on the theme used. One can run SWT's ControlExample - it has a tab that shows all these colors.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Linux it's 172,172,171 so actually brighter... But still, I don't think any color should be hardcoded, and we should instead rely on the OS, which may modify these values according to accessibility settings.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

177,172,171 is even worse:
image

So this does not help.

Copy link
Copy Markdown
Member Author

@BeckerWdf BeckerWdf Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concretely, my experience having learned a bit how Gnome does its UI/UX decisions with real experts;

By the way: I was also working with a real (UX) expert from my team on that topic.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's agree on merging this one.

Let's say, I don't disagree on merging it. It's indeed not worse from the screenshot.
It looks like this color is not overridden by the dark theme. Have you checked it with dark theme? Should the dark theme color be adjusted too?

By the way: I was also working with a real (UX) expert from my team on that topic.

Then (out of curiosity), can you please ask them how come that this line numbers are a problem for other Gnome-based apps seem happy with a lighter color for line numbers?

Also, 1 other thing maybe worth challenging in the choice of color can be "why sticking to greyscale"? VSCode or Visual Studio seem to be using some dark cyan color and it looks nice, maybe the color is even derived from the COLOR_LINK_FOREGROUND system color.
That can be a good inspiration.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this color is not overridden by the dark theme. Have you checked it with dark theme? Should the dark theme color be adjusted too?

I did check. It's overridden in the dark theme and contrast in the dark theme is ok.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, 1 other thing maybe worth challenging in the choice of color can be "why sticking to greyscale"? VSCode or Visual Studio seem to be using some dark cyan color and it looks nice, maybe the color is even derived from the COLOR_LINK_FOREGROUND system color.
That can be a good inspiration.

I also checked VSCode. For VSCode there are a ton of themes and different themes do that differently. I also so that cyan-ish color but there are also themes that use a gresh-ish color.

I just wanted to stick to the "Eclipse way" and only make minimal changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then (out of curiosity), can you please ask them how come that this line numbers are a problem for other Gnome-based apps seem happy with a lighter color for line numbers?

What do you mean? You you please explain your question again?

</colorDefinition>
<colorDefinition
id="org.eclipse.ui.editors.hyperlinkColor"
Expand Down
Loading