Repository navigation
Keep the selection of tool items visible in the macOS dark theme - #4601
Open
HeikoKlare wants to merge 2 commits into
Open
HeikoKlare wants to merge 2 commits into
HeikoKlare wants to merge 2 commits into
Conversation
The broad "Composite > * > *" rule of the dark theme also gives tool items a color of their own. On macOS, an item paints that color over its content: a checked item fills its selection with it instead of its lighter highlight, and a separator hides its line. This affects every tool item that is styled, such as the items of view toolbars and, once Lock the Toolbars renders them again, the items of the main toolbar, where a selected toggle like Mark Occurrences then only keeps its outline. Leave the color of tool items unset in the macOS dark theme, as the Windows dark theme already does. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
HeikoKlare
marked this pull request as ready for review
November 29, 2026 21:13
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & Why
In the macOS dark theme, the broad
Composite > * > *rule gives tool items a background color of their own. On macOS, a tool item paints that color over its content: a selected toggle fills its selection with it instead of the native lighter highlight, so only a faint outline is left, and a separator hides its line. This affects every tool item that gets styled: the items of view toolbars right away, and the items of the main toolbar once it is rendered again, for example by Lock the Toolbars. A selected toggle like Mark Occurrences then loses its highlight until Eclipse is restarted.This change leaves the color of tool items unset in the macOS dark theme, as the Windows dark theme already does since 53ecbfe. Tool items then show the color of their tool bar, keep the native selection highlight, and show separator lines as in the light theme. GTK stays unchanged, as resetting the color removes the outline of checked items there.
Screenshots
How to reproduce
The light theme is not affected.
🤖 Generated with Claude Code