Skip to content

Conversation

Copy link

Copilot AI commented Nov 3, 2025

The chevron menu (view stack overflow popup) was showing icons even when the "Hide icons" preference was enabled, creating visual inconsistency with the tabs themselves which correctly hide icons.

Changes

Modified BasicPartList.java to check the HIDE_ICONS_FOR_VIEW_TABS preference:

  • Added shouldHideIcons() method that checks the preference using Platform.getPreferencesService(), matching the pattern in CTabRendering
  • Skips editor stacks using PartStackUtil.isEditorStack() since the preference only applies to view stacks
  • Modified BasicStackListLabelProvider.getImage() to return null when icons should be hidden

The chevron menu now respects the preference setting consistently with tab rendering behavior.

Original prompt

Plaese fix eclipse-platform#3463


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits November 3, 2025 12:52
… is enabled

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>
Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>
Copilot AI changed the title [WIP] Plaese fix https://github.com/eclipse-platform/eclipse.platform.ui/issues/3463 Fix #3463: Respect "Hide icons" preference in chevron menu Nov 3, 2025
Copilot AI requested a review from laeubi November 3, 2025 12:57
Copilot finished work on behalf of laeubi November 3, 2025 12:57
@laeubi laeubi marked this pull request as ready for review November 3, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Icons are visible in the chevron even if the preference "Hide icons" is set to true

2 participants